Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support *.md.heex? #15

Open
ryan-senn opened this issue Jun 3, 2023 · 1 comment
Open

Support *.md.heex? #15

ryan-senn opened this issue Jun 3, 2023 · 1 comment

Comments

@ryan-senn
Copy link

ryan-senn commented Jun 3, 2023

I haven't put any research into this yet, so I'm not sure what it would take. Mainly creating this issue to see if this has been explored or not.

It would be really cool if we could use verified routes etc. by having the markdown files use MyAppWeb, :html for example. I often link from one page (or article in my case) to other pages, so having the compiler check the links would be pretty nice.

@jsonmaur
Copy link
Owner

jsonmaur commented Jun 8, 2023

I did look into this at one point and it's something I want to support in the future. Don't know how much sense it makes to support .md.heex files since the HEEx engine is meant for HTML templates rather than markdown... but supporting basic EEx compilation would allow you to do useful things like this:

[Foobar](<%= ~p"/foobar" %>)

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

No branches or pull requests

2 participants