[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: ox-html.el does not indicate enough languages [8.2.10 (release_

From: Tianxiang Xiong
Subject: [O] Bug: ox-html.el does not indicate enough languages [8.2.10 (release_8.2.10 @ c:/Users/txiong/emacs-24.5/share/emacs/24.5/lisp/org/)]
Date: Fri, 11 Mar 2016 15:20:14 -0600

Remember to cover the basics, that is, what you expected to happen and

what in fact did happen.  You don't know how to make a good report?  See




Your bug report will be posted to the Org-mode mailing list.



In the file "ox-html.el", the following bit of CSS displays the source

code block language's name on hover:


  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'; }


Org supports far more languages than this. In Section 14.7 of the Org

manual, the following languages are listed (formatting is screwed up):


  Language             Identifier             Language         Identifier

  Asymptote          asymptote              Awk              awk

  Emacs Calc           calc                   C                C

  C++                  C++                    Clojure          clojure

  CSS                  css                    ditaa            ditaa

  Graphviz             dot                    Emacs Lisp       emacs-lisp

  gnuplot              gnuplot                Haskell          haskell

  Java                 java

  _javascript_           js                     LaTeX            latex

  Ledger               ledger                 Lisp             lisp

  Lilypond             lilypond               MATLAB           matlab

  Mscgen               mscgen                 Objective Caml   ocaml

  Octave               octave                 Org mode         org

  Oz                   oz                     Perl             perl

  Plantuml             plantuml               Python           python

  R                    R                      Ruby             ruby

  Sass                 sass                   Scheme           scheme

  GNU Screen           screen                 shell            sh

  SQL                  sql                    SQLite           sqlite


"ox-html.el" should support at least all the languages that Org mode supports by default.


Emacs  : GNU Emacs 24.5.1 (i686-pc-mingw32)

 of 2015-04-11 on LEG570

Package: Org-mode version 8.2.10 (release_8.2.10 @ c:/Users/txiong/emacs-24=


reply via email to

[Prev in Thread] Current Thread [Next in Thread]