remark
remark copied to clipboard
prettier ignore directive not compatible with class
<!-- prettier-ignore-start -->
class: center, middle, no-inverse
# Overview
.footnote[2020]
---
<!-- prettier-ignore-end -->
Result

markdown above loaded by html
<body>
<script src="https://remarkjs.com/downloads/remark-latest.min.js" type="text/javascript"></script>
<script type="text/javascript">
var slideshow = remark.create({
ratio: '4:3',
sourceUrl: 'presentation.md',
highlightLanguage: 'javascript',
highlightStyle: 'monokai',
});
</script>
</body>
However,
<!-- prettier-ignore-start -->
<!-- class: center, middle, no-inverse -->
# Overview
.footnote[2020]
---
Works ok.
Issue can be closed, but behavior should be mentioned in documentation.