Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Parsing layouts on the fly #66

Open
absowoot opened this issue Aug 10, 2023 · 0 comments
Open

Parsing layouts on the fly #66

absowoot opened this issue Aug 10, 2023 · 0 comments

Comments

@absowoot
Copy link

absowoot commented Aug 10, 2023

Layouts need to be built inside of your project before they can be used to display the markdown content. This means that if you have a new layout, you need to push a new version of your app.

Would it be possible to parse heex (or other html template) files in the "_layouts" directory automatically and then use a "layout" attribute to assign the layout in the .md file (like in Front Matter)? I think the attributes would need to be added to the assigned on the fly so the template can make use of any custom attributes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant