From 12b37c39e19df082e48825cfcf59fc067bffb4d0 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Fri, 10 Apr 2020 14:08:25 +0200 Subject: docs: render all examples into one markdown page --- docs/src/assets/style.scss | 1 + docs/src/layouts/shortcodes/example.html | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/src') diff --git a/docs/src/assets/style.scss b/docs/src/assets/style.scss index 26c22071..33e8863e 100644 --- a/docs/src/assets/style.scss +++ b/docs/src/assets/style.scss @@ -47,6 +47,7 @@ body > div { width: 100%; text-align: right; } + max-width: 70vw; margin-bottom: 1em; } diff --git a/docs/src/layouts/shortcodes/example.html b/docs/src/layouts/shortcodes/example.html index d23cabb6..83a6075d 100644 --- a/docs/src/layouts/shortcodes/example.html +++ b/docs/src/layouts/shortcodes/example.html @@ -1,5 +1,4 @@ -
{{ highlight (trim (readFile (.Get "src")) "\n\r") (.Get "lang") "" }}
{{ (.Get "src" )}}
-
\ No newline at end of file + -- cgit v1.2.3