Skip to content

Commit

Permalink
Allow using emphasis text style in link title (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinesedfan committed Oct 25, 2020
1 parent a2e17cd commit 2fc7b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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

0 comments on commit 2fc7b88

Please sign in to comment.