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

Reduce Regex strictness of markdown-it-include #174

Merged
merged 1 commit into from
Feb 16, 2020

Conversation

glenasmith
Copy link
Contributor

The current regexp only lets you include other *.md files, but it's sometimes handy to be able to include other source files in your pdf for developer docs (such as external json, js, or other source code).

I've relaxed the regex so you can include files with any extension, rather than just .md

The current regexp only lets you include other *.md files, but it's sometimes handy to be able to include other source files in your pdf for developer docs (such as external json, js, or other source code).

I've relaxed the regex so you can include files with any extension, rather than just .md
@yzane yzane added this to the 1.4.2 milestone Feb 11, 2020
@yzane yzane merged commit 5d7ace2 into yzane:master Feb 16, 2020
@yzane
Copy link
Owner

yzane commented Feb 16, 2020

Thanks for your PR!

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