setup prettier
This commit is contained in:
parent
9f61dc7684
commit
a81f858848
19 changed files with 239 additions and 177 deletions
|
@ -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 -->
|
||||
|
|
|
@ -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 -->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue