Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/7ma7X/HugoTeX.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelloRusk <hellorusk1998@gmail.com>2022-02-23 05:55:47 +0300
committerHelloRusk <hellorusk1998@gmail.com>2022-02-23 05:55:47 +0300
commita9524e9f197b140f318c75b439bf9f1a3970b6fe (patch)
tree562e8e7bbfa98364378a39c83147da6688ecbcf4
parent20c5d35a1ec84b8712129e80ee05a7bbfe5f5a98 (diff)
add syntax highlighting style
-rw-r--r--README.md7
-rw-r--r--exampleSite/config.toml2
2 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index df7fc90..d9e466d 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,13 @@ footnoteReturnLinkContents = "^"
tag = "tags"
series = "series"
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ unsafe = true
+ [markup.highlight]
+ style = "paraiso-dark" # syntax highlighting style
+
[Params]
darkmode = true # set true if you prefer dark mode
```
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 7171c35..2f8fd37 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -19,6 +19,8 @@ footnoteReturnLinkContents = "^"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
+ [markup.highlight]
+ style = "paraiso-dark"
[Params]
darkmode = true \ No newline at end of file