Details on the full capabilities of Spectre.css can be found in the Official Spectre Documentation
The Quark theme is the new default theme for Grav built with Spectre.css the lightweight, responsive and modern CSS framework. Spectre provides basic styles for typography, elements, and a responsive layout system that utilizes best practices and consistent language design.
40px32px28px24px20px16pxLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent risus leo, dictum in vehicula sit amet, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.
Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs.
Bold **Bold**
Italic _Italic_
The next two Markdown Semantic Text Elements and all HTML Semantic Text Elements are not supported by the Editable with ContentTools plugin.
Deleted ~~Deleted~~
Inline Code `Inline Code`
I18N <abbr>
Citation <cite>
Ctrl + S <kbd>
TextSuperscripted <sup>
TextSubscripted <sub>
Underlined <u>
Highlighted <mark>
<time>
x = y + 2 <var>
The advance of technology is based on making it fit in so that you don't really even notice it, so it's part of everyday life.
- Bill Gates
| Name | Genre | Release date |
|---|---|---|
| The Shawshank Redemption | Crime, Drama | 14 October 1994 |
| The Godfather | Crime, Drama | 24 March 1972 |
| Schindler's List | Biography, Drama, History | 4 February 1994 |
| Se7en | Crime, Drama, Mystery | 22 September 1995 |
This is a fraction from the Twig template editor.js.twig which creates the required Javascript. This is where you can set which HTML elements must be kept in the conversion from Markdown to HTML and back into Markdown.
Note that these elements may get deleted during editing and the editor has no tools to insert them.
// Set allowed HTML elements in the returned Markdown
turndownService.keep(['pre', 'span', 'sup', 'sub']);