Closed gilbert closed 10 years ago
You can get around it by using one of the other accepted formats. The root of the problem is YAML highlighting:
---
foo: bar
---
There might be a way to prevent this problem, but I'm not sure the complexity would be worth it given the other options for horizontal rules. But I'd be happy to merge some thing in or make the changes myself if you have any suggestions
Ah, yaml, so it's like that for front matter, basically. That makes sense. Thanks for the reply!
Take the following markdown:
Ignore the backslash, that's only there so I can type the example into this issue
With three dashes
---
for an hr, the code block no longer has correct syntax. However, with 4+ dashes, the code block works fine.Adding another set of three dashes seems to "undo" the problem:
Is the plugin perhaps trying to use three dashes as some kind of block?