-
-
Notifications
You must be signed in to change notification settings - Fork 4
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 an option to allow the char " in the value of some fields in the template #25
Comments
I've tested the following template:
and the result is:
so the " are kept. Nice ! But there are extras spaces if I change my template to :
the result is:
The spaces are not present (of course !) BUT the " are also removed ! |
After investigating, it seems that the " are removed by some obscur javascript process that I could not identify in your code. But , I've found an "ugly" work arround for my need: in the
by the followings:
And I've also change my template to:
and now, the value of the title field is surrounded by " in the frontmatter ! |
Could you add add an option to allow " in the value of some fields in the template.
This should be very useful for the "title" field in the frontmatter, because without it, the special chars (ex: '|' or '/'...) in title could produce an error when linting the markdown file.
For example, the following frontmatter template
could produce the following code:
and introduce no error when linting the file with a markdown checker
The text was updated successfully, but these errors were encountered: