Open Suor opened 9 years ago
Highlighting HTML inside markdown is a little tricky. Instead of doing this:
</tr></table>
try putting the closing tag on its own line, like:
</tr>
</table>
Yeah, that works. Links stopped to be highlighted though.
Links inside html? or all links? For me the markdown links all seem to be highlighted
I use links, which are really bookmarks not links, like this:
<a name="limit"></a>
And they are not highlighted.
This is outside table. Links in table are highlighted.
You can see full example here - https://github.com/Suor/point-free/blob/master/README.md
Everything looks completely highlighted for me, including anchors. Am I missing something?
Are you using some custom theme? Cause this is how it looks like for me:
I use sublime-monokai-extended. It looks like your theme doesn't support the same level of styling.
But this means Markdown Extended only works halfway for most themes. Isn't this wrong approach? Shouldn't syntax classify everything to predefined set?
And even with Monokai Extended bug persists I either get html highlighted or markdown:
The only difference is whether </tr>
and </table>
are on the same line.
But this means Markdown Extended only works halfway for most themes
This is the first time I've seen this issue in two years, so maybe it just works halfway for your theme?
Isn't this wrong approach?
Maybe, I'm open to a pr
It seems you only get highlight for one of them. If you only use a couple of
<img>
and<a>
then fenced blocks work, but html tags look like mere text. If you through in<table>
like here then blocks stop working but table, images and links are highlighted.