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

Cease stripping the final newline in generated Markdown #672

Closed
wants to merge 1 commit into from
Closed

Cease stripping the final newline in generated Markdown #672

wants to merge 1 commit into from

Conversation

matta
Copy link
Contributor

@matta matta commented Sep 21, 2022

This change moves the code closer to org-md-inner-template, which has similar logic but doesn't call org-trim.

This change moves the code closer to `org-md-inner-template', which
has similar logic but doesn't call `org-trim'.

* ox-hugo.el (org-hugo-inner-template): Remove call to `org-trim' to
address github issue #671.  Users no longer need to set
`require-final-newline' to `t' to get a final newline, and users with
that set to `ask' no longer get prompted on every save.
* ox-blackfriday.el (org-blackfriday-inner-template): ditto.
kaushalmodi added a commit that referenced this pull request Oct 7, 2022
@kaushalmodi
Copy link
Owner

@matta Thanks. I have manually merged this in 8fbd301 after adding few test fixes.

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

Successfully merging this pull request may close these issues.

None yet

2 participants