Document the needed markup.highlight config
This commit is contained in:
@@ -129,19 +129,22 @@ please share it by [posting a link](https://github.com/willfaught/paige/discussi
|
|||||||
$ hugo new yourpost.md
|
$ hugo new yourpost.md
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Install the Paige module:
|
5. Configure your module:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd yoursite
|
$ cd yoursite
|
||||||
$ hugo mod init github.com/youraccount/yoursite
|
$ hugo mod init github.com/youraccount/yoursite
|
||||||
$ hugo mod get github.com/willfaught/paige@latest
|
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Import the Paige module:
|
6. Configure the Paige module:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd yoursite
|
$ cd yoursite
|
||||||
|
$ hugo mod get github.com/willfaught/paige@latest
|
||||||
$ cat >>hugo.toml <<EOF
|
$ cat >>hugo.toml <<EOF
|
||||||
|
[markup.highlight]
|
||||||
|
noclasses = false
|
||||||
|
style = "github"
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/willfaught/paige"
|
path = "github.com/willfaught/paige"
|
||||||
EOF
|
EOF
|
||||||
|
Reference in New Issue
Block a user