Hacker News new | ask | show | jobs
by emacsgifs 3105 days ago
> for my own needs and found markdown syntax to be lacking to express my HTML tags

This is a little strange tbh. The majority of markdown parsers will allow inline html elements too.

If you're trying to do a large structured document, which will need block specific styling, try Pug. (Formerly Jade.) HAML & Slim also solve similar problems and have the benefit of a pretty significant userbase. (All support embedded Markdown)

Sundown is looking very much like a naive and poorly thought out also ran.

1 comments

I'm admittedly naive in this front of anything JavaScript/npm/gulp/yarn/many other tools. They always seem to be over complicated for my interest.

Quickly reading about pug feels like it converts templates to some JS files which I don't want.

I'd like a Markdown/SunDown/custom markup to one inlined HTML, which I can deploy wherever I want..

Haml or Slim are a better bet than Pug then.

Nb: pug aka Jade used to convert direct to HTML, I also lament the "everything the JavaScript" silliness.