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

Add new event MarkdownEvent.INCLUDE #2284

Merged
merged 1 commit into from May 29, 2023

Conversation

krisztianb
Copy link
Contributor

Adds a new event that enables plugins to treat included markdown files separately.

I would need this for this plugin and the option inIncludedFiles which enables users to replace text only in included files. I found out that currently this option is broken because the plugin uses the MarkdownEvent.PARSE event which is also emitted for comment texts and tag texts.

@Gerrit0
Copy link
Collaborator

Gerrit0 commented May 29, 2023

Seems reasonable I guess... I don't much like the include option, it will probably go away once TypeDoc has the ability to include other markdown files in the docs.

@Gerrit0 Gerrit0 merged commit 3b6679a into TypeStrong:master May 29, 2023
5 checks passed
@krisztianb krisztianb deleted the add-markdown-include-event branch May 29, 2023 20:28
@Gerrit0 Gerrit0 added this to the v0.24.8 milestone Jun 4, 2023
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