-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Feature: Add an option to allow indention #260
Comments
Does custom templates not solve this? |
@cookpete I use a custom template, the problem is, that the rendered content will be trimmed on output by auto-changlog, not by handlebars. |
Ah good spot! I should add an option to not remove indentation from templates. Or maybe just never remove indentation for custom templates? Actually, that gets tricky when you have four spaces of indentation...
So maybe a |
Yes for compatibility it would be the best solution. |
I've found this to be an issue for me too. You'd want to do the following:
Lines 28 to 31 in 79acd55
auto-changelog/src/template.js Lines 76 to 100 in 79acd55
I believe that should do it. Fairly simple patch. In my case, I wanted to do nested bullet points
Currently it's not possible to do when generating markdown. |
Currently the lines are trimed on output.
I want to show an indented message under the subject
Example:
Current output is:
In Handlebar templates we can manually control the indention with
~
, example{{~subject~}}
removes whitespace before and after.The text was updated successfully, but these errors were encountered: