prettier ignore directive not compatible with class
unlight opened this issue · 1 comments
unlight commented
<!-- 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>
unlight commented
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.