this post was submitted on 27 Jan 2025
26 points (93.3% liked)
Programming
18018 readers
72 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use Vim, but I don't really write pure HTML. I write Markdown and convert it into HTML as needed.
Markdown covers 95% of my HTML use cases, and I embed pure HTML into the Markdown for the last 5%.
My Markdown tools (mostly command line utilities such as Pandoc) handle HTML inside Markdown quite nicely. A few need a special "hey, there's HTML in here, pass it through unchanged" command line flag, if I recall correctly.
In a few advanced cases I'll use a variant of Jinja2 template syntax, and convert that into HTML - often with some converted Markdown mixed into it at build time.
Out of curiosity, what do you use to convert markdown to HTML?
There's lots of good options. I currently prefer https://github.com/gomarkdown/mdtohtml