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

Commit

Permalink
feat(html pipe): Default pipeline should include <section/>s (#379)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ramboz authored Jul 5, 2019
1 parent de63086 commit 27ad875
Show file tree
Hide file tree
Showing 50 changed files with 6,436 additions and 3,009 deletions.
41 changes: 41 additions & 0 deletions 2images.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "image",
"title": null,
"url": "./helix_logo.png",
"alt": "helix-logo"
},
{
"type": "text",
"value": "\n"
},
{
"type": "image",
"title": null,
"url": "./helix_logo.png",
"alt": "helix-logo"
}
],
"meta": {
"types": [
"has-image"
]
}
}
],
"meta": {
"types": [
"has-image",
"nb-image-2",
"has-only-image"
]
},
"title": "helix-logo\nhelix-logo",
"intro": "helix-logo\nhelix-logo",
"image": "./helix_logo.png"
}
Loading

0 comments on commit 27ad875

Please sign in to comment.