Re:Markdown.css – Make HTML look like plain-text markdown
by matchu on Thursday December 29, 2016 @01:25AM
(#13275976)
The tricky part is rendering the correct number of equals signs. Markdown.css fakes it by rendering a constant large number of equals signs, then setting the width so that only some are visible.
[ Parent
| on HN ]
Re:Markdown.css – Make HTML look like plain-text markdown
by timlyo on Thursday December 29, 2016 @05:06AM
(#13276555)
It seems to work by printing lots of `=` beneath, and then hiding the overflow. Inspecting and changing the title's width reveals more `=` and makes it possible to display half of one.