hologram icon indicating copy to clipboard operation
hologram copied to clipboard

Annoying <p class="styleguide"> generated listing CSS styles commented

Open nicogave opened this issue 9 years ago • 1 comments

Hello,

I got the following HTML generated in the index.html and the basics.html (above the CSS declarations) : <p class="styleguide">[OK Button]: basics.html#OK Button [Search Input]: basics.html#Search Input</p>

I have two comments in a LESS file ("OK Button" and "Search Input").

It's pretty annoying, how is it possible to get rid of that ? It's not displayed in your "hologram example".

Thanks !

nicogave avatar May 04 '16 12:05 nicogave

Hi there,

I was also having this issue, it turned out that it was caused by having things like:

---
title: Colors
name: 1 colors
category: Basics
---

in my front matter (I was using the "1" to force the correct ordering, think I saw that as a suggestion on stack overflow or something), its the space thats causing the issues.

The fix is just to do:

---
title: Colors
name: 1-colors
category: Basics
---

Or in your case using OK-Button and Search-Input, I believe these are only used for URLS so shouldn't display anywhere.

robertbasden avatar Jun 28 '16 16:06 robertbasden