Src block hiliting via polymode #20
Replies: 2 comments 11 replies
-
What's the approach that |
Beta Was this translation helpful? Give feedback.
-
I would love if we could convince the people from Org and Md to use a more general code for source blocks in general markdown modes. (I hate copying code.) I know the attitude of the Org people to reject such proposals with performance arguments as excuse. But, a library of that kind could exploit macros and aliases that are directly compiled into the target code. |
Beta Was this translation helpful? Give feedback.
-
Hi @bbatsov ,
Branch
SrcBlock/polymode
demonstrates the usage ofpolymode
for source block highlighting.A minimal example is
README.adoc
. Source blocks foremacs-lisp
are correctly handled withemacs-lisp-mode
. But, for source blocks with languageshellsession
the fallbackprog-mode
is used.This branch is just a concept study.
The other two concepts are:
mmm-mode
adoc-mode
Beta Was this translation helpful? Give feedback.
All reactions