remark icon indicating copy to clipboard operation
remark copied to clipboard

prettier ignore directive not compatible with class

Open unlight opened this issue 5 years ago • 1 comments

<!-- prettier-ignore-start -->
class: center, middle, no-inverse
# Overview
.footnote[2020]

---

<!-- prettier-ignore-end -->

Result

image

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 avatar May 26 '20 16:05 unlight

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.

unlight avatar May 27 '20 13:05 unlight