From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Koell Subject: exported html: src block missing pseudo-elements Date: Sun, 15 Nov 2015 09:44:05 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c07b8288ee4c30524904bdc Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zxsus-0002DV-OK for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 03:44:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zxsur-0006BI-ST for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 03:44:06 -0500 Received: from mail-yk0-x234.google.com ([2607:f8b0:4002:c07::234]:33899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zxsur-0006B2-OW for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 03:44:05 -0500 Received: by ykfs79 with SMTP id s79so200283792ykf.1 for ; Sun, 15 Nov 2015 00:44:05 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list --94eb2c07b8288ee4c30524904bdc Content-Type: text/plain; charset=UTF-8 I exported some html with defaut style and a javascript src block: ``` #+BEGIN_SRC javascript var x = {} #+END_SRC ``` The exported html contains the default styles and pseudo-elements for following languages only: ``` pre.src:hover:before { display: inline;} pre.src-sh:before { content: 'sh'; } pre.src-bash:before { content: 'sh'; } pre.src-emacs-lisp:before { content: 'Emacs Lisp'; } pre.src-R:before { content: 'R'; } pre.src-perl:before { content: 'Perl'; } pre.src-java:before { content: 'Java'; } pre.src-sql:before { content: 'SQL'; } ``` Why is javascript not included? I know I could write the `pre.src-javascript:before { content: 'Javascript'; } myself. Syntax-highlighting looks fine but the upper right label on hover is missing. Thanks! --94eb2c07b8288ee4c30524904bdc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I exported some html with defaut style and a javascri= pt src block:

```
#+BEGIN_SRC javascript
var x =3D {}
#+END= _SRC
```

The exported html contains the default styles and = pseudo-elements for following languages only:

```
  pre.src:hover:before { display: inline;}
  pre.src-sh:before    { content: 'sh'; =
}
  pre.src-bash:before  { content: 'sh'; =
}
  pre.src-emacs-lisp:before { content: 'Emac=
s Lisp'; }
  pre.src-R:before     { content: 'R'; }
  pre.src-perl:before  { content: 'Perl'=
; }
  pre.src-java:before  { content: 'Java'=
; }
  pre.src-sql:before   { content: 'SQL';=
 }
```

Why is javascript not included? I = know I could write the `pre.src-javascript:before { content: 'Javascrip= t'; } myself. Syntax-highlighting looks fine but the upper right label = on hover is missing.

Thanks!
--94eb2c07b8288ee4c30524904bdc--