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

Add a mix task that exposes Earmark in an EEX template #425

Closed
RobertDober opened this issue Oct 16, 2021 · 2 comments
Closed

Add a mix task that exposes Earmark in an EEX template #425

RobertDober opened this issue Oct 16, 2021 · 2 comments

Comments

@RobertDober
Copy link
Collaborator

This easy to implement feature would allow to make some static pages by including Markdown

   <html>
       ....
      <%= earmark.from_file "filename", options... %>

We should add eex: true to the options and the binding of earmark recursively (can this be done?) and
we have a static page generator

@RobertDober RobertDober self-assigned this Oct 16, 2021
@RobertDober RobertDober added this to the 1.4.17 milestone Oct 16, 2021
RobertDober added a commit that referenced this issue Oct 22, 2021
RobertDober added a commit that referenced this issue Oct 22, 2021
@RobertDober
Copy link
Collaborator Author

reopen to fix design flaw

@RobertDober
Copy link
Collaborator Author

do not need a task the cli can do the same if used with .eex

RobertDober added a commit that referenced this issue Oct 27, 2021
RobertDober added a commit that referenced this issue Oct 27, 2021
* working, needs more docs and tests

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

No branches or pull requests

1 participant