Thank you! I imagine there are aliases defined for `pandoc --list-highlight-languages`? Since specifying `py` seemed to work just as well as `python`, if I'm remembering correctly. If so, where should I edit in the sources ti add more aliases? (And send those edits as PRs)(Like, `el` could be an alias for `commonlisp` ...) On Fri, Aug 16, 2019 at 7:02 PM Daniel Staal wrote: > On 8/16/19 2:07 AM, Rudi C wrote: > > I currently use a script to create a markdown with this structure: > > > > # filename > > > > ```file-extension > > file-content > > ``` > > > > # ... > > > > Does your solution have advantages over this? > > Btw, is there a table of supported things I can put after the triple `s? > > Putting “el”, for example, did not activate EmacsLisp highlighting. > > No real advantages over this - it's basically an alternate syntax for > the same thing. > > There's no reference table, as it depends on the compile - however you > can get the list for the current install with: > > `pandoc --list-highlight-languages` > > > Ps: By plain text, I mean text that always wraps, and keeps its source > > indentation. The kind of I thing I’ll see when I use `less` on a file. > > The point I was trying to make is that 'plain text' isn't a very > well-defined term, or a structured input language. Pandoc deals with > structured input, and has several input formats that could reasonably > handle random text - but unstructured text is a bit out of Pandoc's scope. > > You're not dealing with unstructured text however - you're working with > source code, and again Pandoc can handle source code in several formats > - Markdown being the best supported and documented. > > Daniel T. Staal > > -- > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/DSRfQkWBlFE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/08494ac8-209d-dfa6-43b6-f19034f2bef7%40usa.net > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAE9z9A3zRg%2B9_v26kMR-9fb5HHykwQKDabiufWKSdHcNmMW0ag%40mail.gmail.com.