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

Allow using emphasis text style in link title #129

Merged
merged 1 commit into from
Oct 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions rules/list-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const listItemPrefixCaseWhitelist = new Set([

// Valid node types in list item link
const listItemLinkNodeWhitelist = new Set([
'emphasis',
'inlineCode',
'text'
]);
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/list-item/0.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ These are valid list items that don't need a description.
- [Mark Text](https://github.com/marktext/marktext) - Real-time preview Markdown editor.
- [iqvoc](https://github.com/innoq/iqvoc) - SKOS(-XL) Vocabulary Management System for the Semantic Web.
- [Bridge](https://github.com/bridgedotnet/Bridge) - C# to JavaScript transpiler. Write modern mobile and web apps in C# and run them anywhere in JavaScript.
- [Elisabeth Engel (@_lizzelo_)](https://twitter.com/_lizzelo_)

- [foo](https://foo.com) - "Catan" inspired board game.
- [foo](https://foo.com) - 'About This App' window.
Expand Down