does anyone know of typesafe markdown builders ?
# announcements
n
does anyone know of typesafe markdown builders ?
k
That would take about 15 minutes to write yourself simple smile
n
i hope so
k
The problem is that there's so many dialects, GitHub, Reddit, Stackexchange are all a bit different.
v
@Nikky if you're going to write one, can you show how to do it? It's kinda interesting
n
i made my own DSL for something else but well for markdown i would prett much just copy the structure of the html dsl the whole point of asking was to see if there was anybody who did already
1
👍 1
and because i am focused on other things.. there is 20 things to do for me .. well 21 now
k
@ValV They go trough it step by step here: https://kotlinlang.org/docs/reference/type-safe-builders.html
v
I thought of it as of inventing the wheel. Well, perhaps I should try, but quite sure, that someone has already did it (at least for basic Markdown)