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 #596 #598

Merged
merged 6 commits into from
Feb 10, 2021
Merged

Improve #596 #598

merged 6 commits into from
Feb 10, 2021

Conversation

syohex
Copy link
Collaborator

@syohex syohex commented Feb 10, 2021

Description

Improve #596

  • Refactoring code
  • Better naming. (foldable block feature is not only gfm feature)
  • Add some flows
  • Add unit test

Related Issue

#595, #596 CC: @psibi

Type of Change

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING.md document.
  • I have updated the documentation in the README.md file if necessary.
  • I have added an entry to CHANGES.md.
  • I have added tests to cover my changes.
  • All new and existing tests passed (using make test).

psibi and others added 6 commits February 6, 2021 15:01
This can be used for adding a collapsible content. Works in both
github and gitlab from my teseting.

More details here: #595
- Fix wrong style
- remove 'gfm' keyword from function name. Because it is not gfm specific feature
- Remove needless code
@psibi
Copy link
Contributor

psibi commented Feb 10, 2021

The changes LGTM. Thank you!

@syohex syohex merged commit eb42d39 into master Feb 10, 2021
@syohex syohex deleted the pr-596 branch February 10, 2021 06:36
@@ -12,6 +12,7 @@
`markdown-disable-tooltip-prompt`.
- Introduce `markdown-ordered-list-enumeration` variable [GH-587][]
- Search wiki link under project
- Add `markdown-insert-gfm-foldable-block` function [GH-596][]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed while reviewing the first time: I guess it shouldn't have gfm since you renamed it ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry I'll fix it later

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries. :-) Thanks for adding the test case and making the code better!

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.

2 participants