gleam-lang / awesome-gleam

💯 A collection of Gleam libraries, projects, and resources
1.26k stars 72 forks source link

Categorise commonmark library #166

Closed mscharley closed 3 months ago

mscharley commented 3 months ago

Not sure what the standard for this repo is, but this is still prerelease strictly speaking, but progressing well so kicking this off early as things take time to merge.

lpil commented 3 months ago

Sweet! How about we put this in text as while it is implemented using parsing it is not used for parsing?

mscharley commented 3 months ago

It's arguably both - you can render out to HTML directly, you can parse into an AST (hayleigh plans to use this to render out to lustre components instead of the raw html mode), or one unstarted feature that I was considering but would be useful for this repo is generating an AST programmatically then rendering it out to markdown.

I don't have a strong opinion, especially if we can only pick one.

mscharley commented 3 months ago

There's also a pretty strong argument for it to go in a new Templating group along with things like Pug.

lpil commented 3 months ago

Let's go for "File Formats" as there's other AST producing parsers there

mscharley commented 3 months ago

@lpil done!