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

rebber: fix stringification by replicating mdast-util-to-hast #367

Merged
merged 1 commit into from
Oct 24, 2019

Conversation

vhf
Copy link
Contributor

@vhf vhf commented Oct 6, 2019

  • use collapse-white-space for inline-code
  • use detab for code
  • use trim-lines for text

cf. https://github.com/syntax-tree/mdast-util-to-hast/

fixes the \n bug detected in #342

The generated latex shouldn't impact the way PDF look but please check anyway!

* use `collapse-white-space` for inline-code
* use `detab` for code
* use `trim-lines` for text

cf. https://github.com/syntax-tree/mdast-util-to-hast/
@vhf vhf requested a review from artragis October 6, 2019 16:18
@vhf vhf added this to the next release milestone Oct 24, 2019
@vhf vhf merged commit 01988b7 into master Oct 24, 2019
@vhf vhf deleted the rebber-stringifier-fixes branch October 24, 2019 19:40
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.

1 participant