Skip to content

Markdown: Improved code snippets - #2967

Merged
RunDevelopment merged 2 commits into
PrismJS:masterfrom
RunDevelopment:markdown-improved-code-snippets
Jun 27, 2021
Merged

RunDevelopment merged 2 commits into
PrismJS:masterfrom
RunDevelopment:markdown-improved-code-snippets

Conversation

@RunDevelopment

Copy link
Copy Markdown
Member

This improves Markdown code snippets. The patterns are now stricter. Code snippets inside italic, bold, strike, and URLs are now also highlighted.

As it turns out, this also fixes #2966. Wasn't my intention but I'll take it.

@github-actions

github-actions Bot commented Jun 23, 2021 •

Copy link
Copy Markdown

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +39 B (+2.2%).

Details
file master pull size diff % diff
components/prism-markdown.min.js 1.76 KB 1.8 KB +39 B +2.2%

Generated by 🚫 dangerJS against 1ded953

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown highlights list elements as italic.

1 participant