File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 55[ ![ Test status] ( https://img.shields.io/github/actions/workflow/status/andreruffert/syntax-highlight-element/test.yml?label=Test&logo=github&color=32A9C3&labelColor=1B3C4A )] ( https://github.com/andreruffert/syntax-highlight-element/actions/workflows/test.yml )
66[ ![ npm version] ( https://img.shields.io/npm/v/syntax-highlight-element?color=32A9C3&labelColor=1B3C4A )] ( https://www.npmjs.com/package/syntax-highlight-element )
77[ ![ npm downloads] ( https://img.shields.io/npm/dm/syntax-highlight-element?logo=npm&color=32A9C3&labelColor=1B3C4A )] ( https://www.npmjs.com/package/syntax-highlight-element )
8+ [ ![ jsDelivr hits (npm)] ( https://img.shields.io/jsdelivr/npm/hm/syntax-highlight-element?color=32A9C3&labelColor=1B3C4A )] ( https://www.jsdelivr.com/package/npm/syntax-highlight-element )
89
910The code is highlighted without having to wrap a bunch of ` <span> ` elements around each token, thanks to [ Prism] [ prism_github ] 's tokenizer and the [ CSS Custom Highlight API] [ MDN_CSS_Custom_Highlight_API ] .
1011
Original file line number Diff line number Diff line change 6060 < span class ="heading "> <syntax-highlight></ span >
6161 < h1 class ="tagline "> A custom element that uses the CSS Custom Highlight API for syntax highlighting</ h1 >
6262 < p class ="badges ">
63- < a href ="https://www.npmjs.com/package/syntax-highlight-element ">
63+ < a href ="https://www.npmjs.com/package/syntax-highlight-element " target =" _blank " rel =" noreferrer " >
6464 < img src ="https://img.shields.io/npm/v/syntax-highlight-element?color=32A9C3&labelColor=1B3C4A " height ="20 " alt ="npm version " />
6565 </ a >
66- < a href ="https://www.npmjs.com/package/syntax-highlight-element "> < img src ="https://img.shields.io/npm/dm/syntax-highlight-element?color=32A9C3&labelColor=1B3C4A " height ="20 " alt ="npm downloads "> </ a >
67- < a href ="https://github.com/andreruffert/syntax-highlight-element "> < img src ="https://img.shields.io/badge/source-a?logo=github&color=1B3C4A " height ="20 " alt ="Source on GitHub "> </ a >
66+ < a href ="https://www.npmjs.com/package/syntax-highlight-element " target ="_blank " rel ="noreferrer "> < img src ="https://img.shields.io/npm/dm/syntax-highlight-element?logo=npm&color=32A9C3&labelColor=1B3C4A " height ="20 " alt ="npm downloads "> </ a >
67+ < a href ="https://www.jsdelivr.com/package/npm/syntax-highlight-element " target ="_blank " rel ="noreferrer ">
68+ < img src ="https://img.shields.io/jsdelivr/npm/hm/syntax-highlight-element?color=32A9C3&labelColor=1B3C4A " height ="20 " alt ="jsDelivr hits (npm) ">
69+ </ a >
70+
6871 </ p >
6972 < div class ="copy-code-container ">
7073 < div class ="copy-code ">
You can’t perform that action at this time.
0 commit comments