File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 13
13
- mkdocs: round corners style for buttons etc
14
14
- intro: add code of respect
15
15
- dev: stale issue & pr scheduled check (monthly)
16
+ - intro: lexers for markdown code block syntax highlights in writing tips
16
17
17
18
## Changed
18
19
- mkdocs: correct github url for repo and edit link
Original file line number Diff line number Diff line change @@ -149,6 +149,23 @@ Code blocks include a copy icon automatically
149
149
150
150
Syntax highlighting in code blocks
151
151
152
+ [ Available Lexers for syntax highlights] ( https://pygments.org/docs/lexers/#pygments.lexers.configs.UnixConfigLexer ) {target=_ blank .md-button}
153
+
154
+
155
+ ??? INFO "Lexers used by Practicalli"
156
+ - ` clojure ` Clojure and ClojureScript code
157
+ - ` json ` api data, etc.
158
+ - ` markdown ` markdown text
159
+ - ` make ` Makefile task definitions
160
+ - ` unixconfig ` general configuration files
161
+ - ` yaml ` .yaml / .yml configuration files, e.g. GitHub Workflow
162
+ - ` shell ` scripts (alternatives ` bash ` , ` zsh ` )
163
+ - ` shell-session ` prompt, command and output for one or more commands
164
+ - ` docker ` and compose configs
165
+ - ` html `
166
+ - ` mermaid ` ([ Diagrams - Material for MkDocs] ( https://squidfunk.github.io/mkdocs-material/reference/diagrams/ ) )
167
+
168
+
152
169
``` clojure
153
170
(defn my-function ; Write a simple function
154
171
" With a lovely doc-string"
You can’t perform that action at this time.
0 commit comments