emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Indicate programming language on babel export to markdown.
@ 2013-08-11  8:53 Konstantin
  2013-08-11 12:22 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin @ 2013-08-11  8:53 UTC (permalink / raw)
  To: emacs-orgmode

GitHub support programming language highlight for markdown:

```lisp
(some-code)
```

When I use org-md-export-to-markdown for such org snippet

#+begin_src emacs-lisp
(some-code)
#+end_src

babel is not indicate `emacs-lisp` in the resulting markdown file.
Is it possible? How to achieve that?

-- 
Kostafey <kostafey@gmail.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Indicate programming language on babel export to markdown.
  2013-08-11  8:53 Indicate programming language on babel export to markdown Konstantin
@ 2013-08-11 12:22 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-08-11 12:22 UTC (permalink / raw)
  To: Konstantin; +Cc: emacs-orgmode

Hello,

Konstantin <kostafey@gmail.com> writes:

> GitHub support programming language highlight for markdown:
>
> ```lisp
> (some-code)
> ```
>
> When I use org-md-export-to-markdown for such org snippet
>
> #+begin_src emacs-lisp
> (some-code)
> #+end_src
>
> babel is not indicate `emacs-lisp` in the resulting markdown file.

Org provides vanilla Markdown syntax only. 

> Is it possible? How to achieve that?

You need to create a derived back-end which will support github
flavoured markdown syntax.  See section 12.13 in Org manual.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-11 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-11  8:53 Indicate programming language on babel export to markdown Konstantin
2013-08-11 12:22 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).