@x-govuk/govuk-eleventy-plugin 8.1.0 → 8.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -3
- package/src/data/options.js +1 -1
- package/src/markdown-it.js +2 -2
- package/src/templates/search-index.11ty.js +1 -0
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ export default function(eleventyConfig) {
|
|
|
30
30
|
}
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Learn more about how to [get started](https://
|
|
33
|
+
Learn more about how to [get started](https://govuk-eleventy-plugin.x-govuk.org/get-started/) and which [options you can provide](https://govuk-eleventy-plugin.x-govuk.org/get-started/options/).
|
|
34
34
|
|
|
35
35
|
## Releasing a new version
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x-govuk/govuk-eleventy-plugin",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.1",
|
|
4
4
|
"description": "Write documentation using Markdown and publish it using GOV.UK styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"govuk",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"eleventy",
|
|
9
9
|
"eleventy-plugin"
|
|
10
10
|
],
|
|
11
|
-
"homepage": "https://
|
|
11
|
+
"homepage": "https://govuk-eleventy-plugin.x-govuk.org",
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "git+https://github.com/x-govuk/govuk-eleventy-plugin/issues"
|
|
14
14
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@11ty/eleventy": "^3.0.0",
|
|
56
56
|
"@11ty/eleventy-navigation": "^1.0.0",
|
|
57
57
|
"@11ty/eleventy-plugin-rss": "^2.0.0",
|
|
58
|
-
"@rollup/plugin-commonjs": "^
|
|
58
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
59
59
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
60
60
|
"@rollup/plugin-terser": "^0.4.4",
|
|
61
61
|
"@x-govuk/govuk-prototype-components": "^5.0.0",
|
package/src/data/options.js
CHANGED
|
@@ -3,7 +3,7 @@ import deepmerge from 'deepmerge'
|
|
|
3
3
|
/**
|
|
4
4
|
* Default option values
|
|
5
5
|
*
|
|
6
|
-
* @see {@link https://
|
|
6
|
+
* @see {@link https://govuk-eleventy-plugin.x-govuk.org/get-started/options/}
|
|
7
7
|
*/
|
|
8
8
|
const defaults = {
|
|
9
9
|
footer: {
|
package/src/markdown-it.js
CHANGED
|
@@ -41,8 +41,8 @@ export function md(markdownOptions = {}) {
|
|
|
41
41
|
const md = new MarkdownIt(opts)
|
|
42
42
|
.use(markdownItGovuk, {
|
|
43
43
|
calvert: true,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
govspeak: markdownOptions.govspeak,
|
|
45
|
+
headingsStartWith: markdownOptions.headingsStartWith
|
|
46
46
|
})
|
|
47
47
|
.use(markdownItAbbr)
|
|
48
48
|
.use(markdownItAnchor, {
|