mdgriffith / elm-markup

Elm-friendly markup

Home Page:https://package.elm-lang.org/packages/mdgriffith/elm-markup/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

creating a inline code snippet is awkward

BrianHicks opened this issue · comments

In Markdown, you can do this:

Look at the code in `examples/BlogPost.elm`

Look at the code in examples/BlogPost.elm

But because of the slash, this is awkward in elm-markup. inlineText will interpret any formatting characters according to plain text rules, so you have to use a named argument in the inline instead.

You're right!

Now there is a verbatim inline concept which I think fits this quite nicely:https://package.elm-lang.org/packages/mdgriffith/elm-markup/3.0.0/Mark#verbatim