diff options
author | Mantas Vilčinskas <hi@mnts.lt> | 2023-04-22 14:17:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 14:17:12 +0300 |
commit | bcbd97258287cc8f192838e69dcec358450f024e (patch) | |
tree | e442070146fcb9251582797bd1413ab7b65412c7 | |
parent | 3965c060bc3f1d9599c20fe4bc0ac538f34511e8 (diff) | |
parent | 91013f06b2b60b32f24129c58e2dba42ccc140ee (diff) |
Merge pull request #265 from JacksonChen666/master
Contain the code blocks & add example page for formatted markdown
-rw-r--r-- | exampleSite/content/issues/2023-04-16-formatting-testing.md | 21 | ||||
-rw-r--r-- | layouts/partials/meta.html | 4 |
2 files changed, 25 insertions, 0 deletions
diff --git a/exampleSite/content/issues/2023-04-16-formatting-testing.md b/exampleSite/content/issues/2023-04-16-formatting-testing.md new file mode 100644 index 0000000..7d23d8a --- /dev/null +++ b/exampleSite/content/issues/2023-04-16-formatting-testing.md @@ -0,0 +1,21 @@ +--- +title: Formatting testing +date: 2023-04-16T18:34:00Z +section: issue +informational: true +--- + +This page includes *some* markdown formatting, such as **bold**, *italics*, ***bold and italics***, and other things as follows: + +`This is just code, not much else. It shouldn't overflow outside the boundries, and it's not a code block either.` + +--- + +``` +This is a code block. It's long, and text will overflow. +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb +qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiop +fastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfastfast +v a r i b l e s p a c i n g fillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfill +``` diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index c8381a9..bb28846 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -107,6 +107,10 @@ padding: 16px; } + .markdown pre { + overflow-x: scroll; + } + .contain--more { max-width: 680px; } .center { text-align: center; } |