Webcomponent reveal.js-eliminate-empty-lines following open-wc recommendations
npm install reveal.js-eliminate-empty-linesA Reveal.js plugin to eliminate line breaks in <pre> tags in lines that don't contain anything other than an html tag.
``bash`
npm i reveal.js-eliminate-empty-lines
Add the plugin:
`html`
Now you can write this HTML (much easier to read):
`html
struct Person {
name: String,
age: u32
}
struct C;
`
And it would be rendered like this:
`html
struct Person {
name: String,
age: u32
}
struct C;
``