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

How may I copy a file with its contents without processing the contents using Mustache? #13

Open
mmynsted opened this issue Jun 12, 2022 · 0 comments

Comments

@mmynsted
Copy link

mmynsted commented Jun 12, 2022

I have a LaTeX file, {{ project }}.md/scriv-pmarkdown.latex.

It contains content with {{ and }} as part of the normal LaTeX.
If I add the file to the templates block in template.toml then the LaTeX is altered and broken on init of a new project from the template.

If I add the file to the files block then the file is added empty on init of a new project from the template.

If I alter the delimiters used by Mustache (see Set Delimiter) in the scriv-pmarkdown.latex file as follows and then put the file in the templates block:

Add to the top of the file.

%{{=<% %>=}}

Add to the bottom of the file.

%<%={{ }}=%>

The change in delimiters is ignored and so the file is broken.

Is there are way to copy the contents of the file without parsing with Mustache?

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

No branches or pull requests

1 participant