diff --git a/.eleventy.js b/.eleventy.js index 6fcb0713..084f4e0b 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,3 +1,6 @@ +import markdownIt from 'markdown-it'; +import markdownItAttrs from 'markdown-it-attrs'; +import markdownItAnchor from 'markdown-it-anchor'; import YAML from 'yaml'; // development host for playground proxy @@ -15,6 +18,13 @@ const drafts = [ ]; export default async function(eleventyConfig) { + eleventyConfig.setLibrary('md', markdownIt({ + html: true, + linkify: true, + typographer: true + }).use(markdownItAttrs) + .use(markdownItAnchor)); + eleventyConfig.addDataExtension('yaml', (contents) => YAML.parse(contents)); eleventyConfig.addPassthroughCopy('.htaccess'); diff --git a/_layouts/fomantic.liquid b/_layouts/fomantic.liquid index 9a190936..71e433f4 100644 --- a/_layouts/fomantic.liquid +++ b/_layouts/fomantic.liquid @@ -26,6 +26,7 @@ .ui.top.menu .header.item > span { font-size: 150%; } .ui.top.menu .header.item > img { margin-right: 1rem; } .ui.fitted.tab.segment > .ui.table { border-left: 0; border-top: 0; border-right: 0; margin-top: 0; } + .ui.table th:empty { display: none; } /* RDF Font gets priority */ i.rdf-icon-rdf.icon { font-family: 'rdf-font'; } @@ -105,6 +106,14 @@ {{ content }} +
+ diff --git a/images/index.html b/images/index.html deleted file mode 100644 index a79a03fb..00000000 --- a/images/index.html +++ /dev/null @@ -1,98 +0,0 @@ ---- -layout: default -title: JSON-LD Images/Logos ---- - -The following images can be used for JSON-LD.-
- Use of these images must follow the guidelines found on the W3C RDF Icons page due to the embedded use of their excellent logo and inspiration for this page. -
This is the JSON-LD logo. Also available as SVG or high resolution PNG.
-
-
- |
- - <a href="https://json-ld.org/" title="JSON-LD"><img style="border:0px;" width="64" src="https://json-ld.org/images/json-ld-logo-64.png" alt="JSON-LD-logo-64"/></a> - | -
These images can be used for JSON-LD data. Also - available as SVG (Inkscape) or - high resolution PNG.
-
\` |
+
+{.ui .celled .table}
+
+## Buttons
+
+This button can be used to show JSON-LD support. Also available as
+[SVG](json-ld-button.svg) (Inkscape) or [high resolution
+PNG](json-ld-button.png).
+
+| | |
+|----|----|
+| [](https://json-ld.org/ "JSON-LD") | `
` |
+
+{.ui .celled .table}
+
+## Data
+
+These images can be used for JSON-LD data. Also available as
+[SVG](json-ld-data.svg) (Inkscape) or [high resolution
+PNG](json-ld-data.png).
+
+| | |
+|----|----|
+| [](https://json-ld.org/ "JSON-LD Data") | `
` |
+| [](https://json-ld.org/ "JSON-LD Data") | `