CentreForDigitalHumanities / cookiecutter-webapp-deluxe

BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Newlines in Cookiecutter-generated project #23

Closed ar-jan closed 2 years ago

ar-jan commented 2 years ago

Projects generated with this template contain newlines at the location of {% if ... %} ... {% endif %} blocks, which breaks table rendering in case of markdown files (e.g. the "Development mode vs production mode" table). Looks like Jinja can ignore preceding/following whitespace using an extra dash like {%- if %}.

jgonggrijp commented 2 years ago

@ar-jan It appears that a part of your first sentence is missing. Could you edit the opening post to add the missing part?

ar-jan commented 2 years ago

@jgonggrijp not missing, but I clarified the sentence a bit.

jgonggrijp commented 2 years ago

Ah, I think my brains failed at parsing the sentence because I interpreted "containg" as "containing", rather than as the intended "contain". Thanks for clarifying!