writemonkey / wm3

165 stars 5 forks source link

Use HTML comments #360

Open crystalfp opened 4 years ago

crystalfp commented 4 years ago

I returned to WM (3.2.0 on windows) after long time and I have to say it has hugely improved. Thanks!

I ingest my markdown files with pandoc to produce the final document. Pandoc uses and ignores html comments <!-- --> that, instead, are treated in no special way by WM. Moreover WM comments // Comment create problems — in fact they are unusable — because they are deal as normal text by pandoc.

Another problem is the absence of specific style for html comments.

Could the addition of html comments be a new feature for WM?

Thanks again! mario

crystalfp commented 4 years ago

Forgot. WM renders the comment <!-- text --> approximately as: ←!—— text —→

writemonkey commented 4 years ago

This is expected with fonts that support ligatures (like JetBrains). i.