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

Improve appending/prepending style on ThemeSet#pack #47

Merged
merged 5 commits into from
Aug 5, 2018

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Aug 5, 2018

This PR will change the options of ThemeSet#pack to make consistent.

appendStyle option is renamed to after, and we add before option to prepend style before theme.

It will become a breaking change, so we write down to CHANGELOG.md about this change.

This change will use in @marp-team/marp-core's math typesetting support.

This PR includes the improvement of Marp's internal method #renderStyle to split options into #themeSetPackOptions. It could customize packing option on extended class easily.

@yhatt yhatt merged commit 81f4a03 into master Aug 5, 2018
@yhatt yhatt deleted the improve-style-customization branch August 5, 2018 12:06
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