Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Commit 27ad875

Browse files
authored
feat(html pipe): Default pipeline should include <section/>s (#379)
Include proper sections in the HTML pipeline instead of plain `<hr>` sectioning BREAKING CHANGE: - Remove `context.content.sections` and move the sections directly under `context.content.mdast` - Adjust json schemas accordingly - Move the section yaml meta info to `<node>.meta` - Move the section types to the mdast `<node>.meta.types` Is dependent on adobe/helix-cli#1037 fix #279
1 parent de63086 commit 27ad875

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+6436
-3009
lines changed

2images.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"type": "root",
3+
"children": [
4+
{
5+
"type": "paragraph",
6+
"children": [
7+
{
8+
"type": "image",
9+
"title": null,
10+
"url": "./helix_logo.png",
11+
"alt": "helix-logo"
12+
},
13+
{
14+
"type": "text",
15+
"value": "\n"
16+
},
17+
{
18+
"type": "image",
19+
"title": null,
20+
"url": "./helix_logo.png",
21+
"alt": "helix-logo"
22+
}
23+
],
24+
"meta": {
25+
"types": [
26+
"has-image"
27+
]
28+
}
29+
}
30+
],
31+
"meta": {
32+
"types": [
33+
"has-image",
34+
"nb-image-2",
35+
"has-only-image"
36+
]
37+
},
38+
"title": "helix-logo\nhelix-logo",
39+
"intro": "helix-logo\nhelix-logo",
40+
"image": "./helix_logo.png"
41+
}

0 commit comments

Comments
 (0)