setup prettier

This commit is contained in:
Robert Kaussow 2020-09-10 22:23:24 +02:00
parent 9f61dc7684
commit a81f858848
No known key found for this signature in database
GPG key ID: 65362AE74AF98B61
19 changed files with 239 additions and 177 deletions

View file

@ -67,6 +67,7 @@ pygmentsCodeFences: true
You can use it like every other shortcode:
<!-- prettier-ignore -->
```markdown
{{</* highlight Shell "linenos=table" */>}}
# some code
@ -77,8 +78,12 @@ echo "Hello World"
**Example:**
<!-- markdownlint-disable -->
<!-- prettier-ignore-start -->
{{< highlight Shell "linenos=table" >}}
# some code
echo "Hello World"
{{< /highlight >}}
<!-- prettier-ignore-end-->
<!-- markdownlint-enable -->

View file

@ -4,6 +4,8 @@ All necessary class names are listed below. If you miss some classes required fo
<!-- markdownlint-disable -->
<!-- spellchecker-disable -->
<!-- prettier-ignore-start -->
{{< highlight CSS "linenos=table" >}}
/* default link color */
a { color: #1c388e; }
@ -32,6 +34,8 @@ a:visited { color: #73bfb8 }
.gdoc-hint.warning { background: #fef5dc; border-color: #e4ba48; color: black; }
.gdoc-hint.danger { background: #fae1db; border-color: #cf5f46; color: black; }
{{< /highlight >}}
<!-- prettier-ignore-end -->
<!-- spellchecker-enable -->
<!-- markdownlint-enable -->