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

feat: support preset and render options #122

Merged
merged 1 commit into from
Aug 13, 2020

Conversation

curbengh
Copy link
Contributor

@curbengh curbengh commented Aug 12, 2020

Currently when a preset is set, its options can't be overridden and anchor feature cannot be used.

Updated wiki.

  • BREAKING CHANGE: config syntax has been updated, old config compatibility is temporarily retained
    • Old config
    markdown: 'commonmark'
    • will be automatically converted to:
    markdown:
      preset: 'commonmark'
    # render, plugins & anchors options are empty
  • refactor(test): set default config

BREAKING CHANGE: config syntax has been updated, old config compatibility is temporarily retained
refactor(test): set default config
@curbengh curbengh merged commit 34e589a into hexojs:master Aug 13, 2020
@curbengh curbengh deleted the renderer-opts branch August 13, 2020 00:47
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