-
Notifications
You must be signed in to change notification settings - Fork 76
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
feature request: Allow markdown files to be processed in templates #199
Comments
It's a nice idea in theory. It's unclear how we'd handle control
structures, and also whether this should go in Shakespeare or a different
package due to dependency issues.
But fortunately we already have a name for it: Markus.
…On Fri, Dec 16, 2016, 7:59 AM Aaron Wolf ***@***.***> wrote:
Simplest version is to just allow markdown files to be used where they get
run through pandoc or similar (ideally a setting for whoever to choose the
processor) and then the resulting HTML is used where the processed Hamlet
file would otherwise be used.
Possible alternate or addition could be a Hamlet command that specifies
that the block within that command is markdown and should be processed as
such.
Ideal: recognize hamlet functions like typesafe URLs and such within a
markdown file so that the combination of markdown and type safety is
possible.
The primary goal here is to make it even more approachable for Yesod
projects to reach wider audience of contributors who may be more
comfortable with markdown than HTML. But there's other potential uses and
advantages, especially the readability factor of the code as readable text.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#199>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBBxwFY3m8jdJqBjIfoxMqPuJsp8ZIks5rIiipgaJpZM4LO36o>
.
|
If you're using Roman names shouldn't it be "Marcus" instead of "Markus"? |
Yes, but the bad spelling is good for disambiguation and ties into markdown
more obviously. But I'm open to the other working.
…On Tue, Dec 20, 2016, 10:14 AM Erik de Castro Lopo ***@***.***> wrote:
If you're using Roman names shouldn't it be "Marcus" instead of "Markus"?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#199 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBB6kKlVisAnZXeWGlbgqfgIfngKmQks5rJ45WgaJpZM4LO36o>
.
|
By the way, I haven't looked into it yet, but http://github.com/arowM/heterocephalus seems to be moving in a direction I think could be valuable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simplest version is to just allow markdown files to be used where they get run through pandoc or similar (ideally a setting for whoever to choose the processor) and then the resulting HTML is used where the processed Hamlet file would otherwise be used.
Possible alternate or addition could be a Hamlet command that specifies that the block within that command is markdown and should be processed as such.
Ideal: recognize hamlet functions like typesafe URLs and such within a markdown file so that the combination of markdown and type safety is possible.
The primary goal here is to make it even more approachable for Yesod projects to reach wider audience of contributors who may be more comfortable with markdown than HTML. But there's other potential uses and advantages, especially the readability factor of the code as readable text. Also, content would be easier to share across various contexts / platforms that happen to use Markdown.
The text was updated successfully, but these errors were encountered: