-
Notifications
You must be signed in to change notification settings - Fork 124
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
Support markdown for header attr in dropdown #1029
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add support for header slot
I think you forgot to update the test files. |
* testing edge cases on parsing header/text attr of Dropdown component
ang-zeyu
reviewed
Feb 16, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
just a few minor things:
ang-zeyu
reviewed
Feb 21, 2020
@le0tan Resolve the merge conflict |
# Conflicts: # test/unit/utils/componentParserData.js
@yamgent I resolved the conflicts. |
Works in production. Good work @le0tan and reviewers. |
Tejas2805
added a commit
to Tejas2805/markbind
that referenced
this pull request
Feb 27, 2020
* 'master' of https://github.com/MarkBind/markbind: Update tests Allow using 'none' footer attribute in frontmatter (MarkBind#1002) Support line numbers for code blocks (MarkBind#991) 2.11.0 Update test files due to changes in PR MarkBind#982 Update vue-strap version to v2.0.1-markbind.36 Make highlighting bold (MarkBind#1045) Support markdown for header attr in dropdown (MarkBind#1029) Add '_site' to the ignored folders in site.json (MarkBind#1046) Use path.join instead of string interpolation (MarkBind#1052) Implement box markdown header attributes parsing (MarkBind#1025) Make the position of top navbar fixed (MarkBind#982) Exclude *.md files from being copied over on build (MarkBind#1010) # Conflicts: # docs/css/main.css
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of this pull request? (put "X" next to an item, remove the rest)
• [X] New feature
What is the rationale for this request?
In response to #1013 (review)
What changes did you make? (Give an overview)
Support markdown syntax for
header
attribute of a dropdown component. Lettext
attribute take priority overheader
(i.e. iftext
attribute is present, its value would be rendered as raw HTML in dropdown whileheader
attribute, if present, would be ignored completely.)Testing instructions:
Replace
vue-strap
from this PRHere are some test examples:
<dropdown header="**strong**"></dropdown>
<dropdown header="![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png)"></dropdown>
<dropdown text="<i>italic</i>" header="**s**"></dropdown>
- to test thattext
takes priority overheader
Proposed commit message: (wrap lines at 72 characters)
Support markdown for header attribute in dropdown.