Skip to content

Conversation

@Galadirith
Copy link
Contributor

Hi @travs,

Some of our users have wanted the ability to export PDF's from our fork of markdown-preview for a while (#48, https://github.com/Galadirith/markdown-preview-plus/issues/34 among others), I'm really sorry it's taken me so long to address this on my end.

We would love it if you felt you could support MPP in your awesome package. I've put together the necessary changes in this PR. I'll make some more specific comments on the diff's but as a general summary markdown-pdf will be able to export to PDF's when either markdown-preview or markdown-preview-plus is enabled, and in particular it also will export maths blocks which are a feature of our package.

I've also added specs to make sure both use cases when either markdown preview package is enabled are tested. I really hope you don't mind the changes I made to your specs, I also removed spec/markdown-pdf-view-spec.coffee that seemed to test a module that no longer existed.

Please let me know if you don't agree with any of my changes, the last thing I would want to do is cause any problems for you in your packages. Thanks @travs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deferring the loading of a markdown preview package makes it easier to add support for other preview packages.

@guopei
Copy link

guopei commented Oct 22, 2015

Thank you @Galadirith to make this pull request. I want this feature badly! Hope @travs can merge it soon!

ofesseler added a commit to ofesseler/markdown-pdf that referenced this pull request Feb 16, 2016
@travs travs merged commit 84ff1ee into travs:master Mar 25, 2016
travs pushed a commit that referenced this pull request Mar 25, 2016
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.

3 participants