@anydigital/eleventy-bricks 1.0.0-alpha.20 → 1.0.0-alpha.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anydigital/eleventy-bricks",
3
- "version": "1.0.0-alpha.20",
3
+ "version": "1.0.0-alpha.21",
4
4
  "description": "A collection of helpful utilities and filters for Eleventy (11ty)",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -35,11 +35,15 @@ export default function (eleventyConfig) {
35
35
  /* Libraries */
36
36
  eleventyConfig.setLibrary(
37
37
  "md",
38
- markdownIt({ html: true, linkify: true })
38
+ markdownIt({
39
+ html: true,
40
+ breaks: true,
41
+ linkify: true,
42
+ })
39
43
  .use(markdownItAnchor, {
40
44
  permalink: markdownItAnchor.permalink.headerLink(),
41
45
  })
42
- .use(markdownItAttrs)
46
+ .use(markdownItAttrs),
43
47
  );
44
48
 
45
49
  /* Data */
@@ -51,7 +55,7 @@ export default function (eleventyConfig) {
51
55
  "src/_public": ".",
52
56
  ...(inputDir !== "src" && { [`${inputDir}/_public`]: "." }),
53
57
  },
54
- { expand: true } // This follows/resolves symbolic links
58
+ { expand: true }, // This follows/resolves symbolic links
55
59
  );
56
60
 
57
61
  /* Dev tools */