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 "Enable HTML" option to allow HTML in Marp slide preview #15

Merged
merged 5 commits into from
Mar 19, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Mar 18, 2019

I've added "Enable HTML" option (markdown.marp.enableHtml) to allow HTML elements in Marp slide preview. It works as same as --html option in Marp CLI.

marp-vscode-configuration

VS Code's default preview is always allowed HTML, but HTML in Marp preview is disabled by default for matching to Marp's behavior. This option is affected only to Marp preview.

Related to #10.

@yhatt
Copy link
Member Author

yhatt commented Mar 18, 2019

It works well but I might consider another way to be better tracking of settings.

Current implementation is not adaptive for the change of Marp instance (e.g. Theme CSS). In terms of UX, it requires reload preview pane manually.

I think the implementation of VS Code's official Markdown Language features extension would be helpful.

@yhatt
Copy link
Member Author

yhatt commented Mar 19, 2019

It would be better to make new release a priority.

But we keep opening related issue. I'll work for improving internal logic.

UPDATE: Improved internal logic to be simple in #17 .

@yhatt yhatt merged commit f33267a into master Mar 19, 2019
@yhatt yhatt deleted the configuration branch March 19, 2019 04:25
@yhatt
Copy link
Member Author

yhatt commented Apr 3, 2019

A better tracking of configurations will be implemented in #20.

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