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 -->