Skip to content

ivan-jukic/elm-markdown-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elm Markdown Parser

Word of caution: this is still heavily WIP

Following spec defined at: https://www.markdownguide.org/basic-syntax/

Motivation

  • Learn how to implement parsers with Elm
  • Contribute to the community
  • Need something that parses markdown but doesn't fail... Erm much
  • And is configurable
  • Could be fun
  • Or convince me that I should be a farmer

High hopes that I'll actually finish this one 🤘

Road so far

Can parse headers

# H1
## H2
### H3
#### H4
##### H5
###### H6

And these kind of H1's
======================

And these kind of H2's
----------------------

Can parse inline content

Parse **bold**, _italic_, and even ~~strikethrough~~ content!

TODO

  • Block parsers
    • Headings
      • Refactor headings parsers
    • Lists (orderd & unordered)
    • Blockquotes
    • Code blocks
  • Inline parsers
    • Bold / italic / strikethrough
    • Nested bold / italic / strikethrough
    • Line breaks
    • Code
    • Links
    • Images
  • Other
    • Rendering

About

Markdown parser implemented in Elm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages