-
Notifications
You must be signed in to change notification settings - Fork 186
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
How to access metadata #9
Comments
Currently, the processing option applies to MultiMarkdown, not iA Writer. Metadata is processed inside |
But can we access it through JavaScript inside the template? btw, it seems this issue is a duplicate of #6
|
@mb21 That is a good idea. Thank you! |
@mb21 could you expand on this javascript idea? |
@mb21 It’s possible to hack it in by extracting metadata from |
@antons Can you give us a little more direction with extracting metadata from |
Not @antons but what I did was create divs at the top of my document with the interpolated value of the metadata and then accessed the DOM element after the You'll also have to hide the elements in your styles:
|
Thanks @marcammann here's what I ended up doing ... Let's say I have this metadata at the top of my MMD document:
NOTE STRICT DOUBLE SPACE AT END OF METADATA LINES Here's what I did in the end to access hashtags from the metadata.
|
According to your docs Writer can process MultiMarkdown metadata. How do I access it inside of a template?
The text was updated successfully, but these errors were encountered: