jxxcarlson / elm-markdown

Pure elm markdown parser with optional extensions for math, poetry, etc.
https://markdown.minilatex.app/
BSD 3-Clause "New" or "Revised" License
29 stars 5 forks source link

Multiline Code blocks that aren't elm #16

Open sp4ghet opened 4 years ago

sp4ghet commented 4 years ago
this doesn't work
unless you put
"```elm
"something like this
"```

also there doesn't seem to be any support for languages other than elm, which is inconvenient

Anton-4 commented 4 years ago

I am working on proper styling when no language is given, (depends on pablohirafuji/elm-syntax-highlight#13 ).

The following languages are currently supported:

We use elm-syntax-highlight for this btw.

Anton-4 commented 4 years ago

With the latest release you can add nolang after the three ticks to create generic code styling. We are aware this deviates from the markdown standard but it would require major changes to the parsers to enable this to work without a string after the first three ticks.