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

Simplify Marp integration by using independent instance #17

Merged
merged 3 commits into from
Mar 19, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Mar 19, 2019

I've refactored extendMarkdownIt to be simplify Marp integration by using independent instance.

The core of VS Code Markdown integration has not supposed to extend by the other extensions. We tried to implement better experience of configuration, but it seems to be difficult in the approach as same as until now.

So I changed a logic for extend drastically. We will swap rendering methods to redirect to the proper markdown-it instance: VSCode's or Marp's.

We become to use independent instance Marp. Thus, the extend logic will be much simpler and it would never trigger new conflication with the other extensions. In other words, user can no longer extend Marp renderer by using VSCode extensions.

@yhatt yhatt merged commit d5a630b into master Mar 19, 2019
@yhatt yhatt deleted the simplify-integration branch March 19, 2019 15:24
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