We add more of Markdown's functionality to our Mini Markdown, written in Elixir, and we also add the capability to generate small and big tags, which Markdown doesn't do.
Share
For the small feature, it does not seem necessary to escape minus signs, is it ? I wrote this :
defp small(txt) do Regex.replace(~r/--(.*)--/, txt, "<small>\\1</small>") end
end
1 Comment
For the small feature, it does not seem necessary to escape minus signs, is it ? I wrote this :