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

[core] Add a mustache function to translate markdown into html #886

Closed
aalmiray opened this issue Aug 11, 2022 · 0 comments
Closed

[core] Add a mustache function to translate markdown into html #886

aalmiray opened this issue Aug 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aalmiray
Copy link
Member

Useful for changelog, announcer, and packager templates.

Should turn this

{{#f_md2html}}
This is **bold**
This is _italic_
A list follows:

* item 1
* item 2

And now [link]({{projectLinkHomepage}})
{{/f_md2html}}

into this

<p>This is <strong>bold</strong>
This is <em>italic</em>
A list follows:</p>
<ul>
<li>item 1</li>
<li>item 2</li>
</ul>
<p>And now <a href="https://acme.com/app">link</a></p>

commonmark-java has no external dependencies.

@aalmiray aalmiray added the enhancement New feature or request label Aug 11, 2022
@aalmiray aalmiray added this to the v1.2.0 milestone Aug 11, 2022
@aalmiray aalmiray self-assigned this Aug 11, 2022
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant