-
Notifications
You must be signed in to change notification settings - Fork 19
Add ability to include external markdown #429
Comments
Looks like a duplicate of #267 - the implementation in #270 does not use the same syntax you proposed, but is aligned with the most common embed syntaxes I've found. For |
ok, so this should already work with: index.md
/cc @davidnuescheler |
In my test, relative or absolute paths both result in an included 404.html, and a full URL gets printed as preformatted text. |
I stand corrected: It should work if it wasn't buggy. /foo.md results in: <esi:include src="/foo.embed."> The
|
@trieloff Strange, I tried it locally on a demo site with CLI v4.9.11 and got it working as follows:
Foo
`markdown:/foo.md` 1st approach
<p>bar</p> 2nd approach
<p>${content.document.body.innerHTML @ context='unsafe'}</p>
baz Also, same results when trying with |
@ramboz I'd trace the actual ESI |
Closed during backlog grooming session during hackathon. Reopen if needed or open a new one. |
it would be cool to be able to include markdown on the resource level, eg:
footer.md
index.md
This could be useful for adobe/helix-home#52
@trieloff WDYT?
/cc @davidnuescheler
The text was updated successfully, but these errors were encountered: