Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Sep 14, 2023
1 parent f445e3e commit e1fe40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/markdown/parseMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function getCodeblock(content) {
* @param {string} markdown
*/
function renderInline(markdown) {
// Parse markdown list. Since unordered lists are block level elements we do not inline parse.
// Check if the markdown contains an inline list. Unordered lists are block elements and cannot be parsed inline.
if (/[-*+] `([A-Za-z]+)`/g.test(markdown)) {
return marked.parse(markdown, markedOptions);
}
Expand Down

0 comments on commit e1fe40a

Please sign in to comment.