diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2020-04-10 14:08:25 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2020-04-10 14:08:25 +0200 |
commit | 12b37c39e19df082e48825cfcf59fc067bffb4d0 (patch) | |
tree | 56683bc712c5c8f88eeee121f7762e03f715b04e /docs/src | |
parent | 0d9e517c064ca3992fac83c3a1ec6e4284221e72 (diff) | |
download | mitmproxy-12b37c39e19df082e48825cfcf59fc067bffb4d0.tar.gz mitmproxy-12b37c39e19df082e48825cfcf59fc067bffb4d0.tar.bz2 mitmproxy-12b37c39e19df082e48825cfcf59fc067bffb4d0.zip |
docs: render all examples into one markdown page
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/assets/style.scss | 1 | ||||
-rw-r--r-- | docs/src/layouts/shortcodes/example.html | 3 |
2 files changed, 2 insertions, 2 deletions
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 @@ - <div class="example"> {{ highlight (trim (readFile (.Get "src")) "\n\r") (.Get "lang") "" }} <div class="path">{{ (.Get "src" )}}</div> -</div>
\ No newline at end of file +</div> |