• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vuepress / ecosystem / 46413879496
69%

Build:
DEFAULT BRANCH: main
Ran 30 Nov 2026 12:29PM UTC
Jobs 1
Files 762
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Nov 2026 11:56AM UTC coverage: 68.642% (+0.1%) from 68.528%
46413879496

push

github

web-flow
fix(plugin-shiki): keep pre attributes with v-pre (#1186)

* fix(plugin-shiki): keep pre attributes with v-pre

The preWrapper: false branch sliced a fixed prefix from the opening <pre> tag, which corrupted the class attribute whenever v-pre came first (shiki's vPreTransformer or VuePress's :v-pre fence marker).

Match the opening tag with a quote-aware regexp, prepend the language class to the existing class attribute, and add the attribute when it is missing, keeping every other attribute intact.

Add tests that use the real transformer list from createShikiHighlighter, including the :v-pre fence marker and a pre tag without a class attribute.

* fix(plugin-shiki): avoid pre attribute regexp backtracking

7091 of 11325 branches covered (62.61%)

Branch coverage included in aggregate %.

42 of 43 new or added lines in 1 file covered. (97.67%)

8810 of 11840 relevant lines covered (74.41%)

158.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.43
6.11% plugins/markdown/plugin-shiki/src/node/markdown/preWrapperPlugin.ts
Jobs
ID Job ID Ran Files Coverage
1 46413879496.1 30 Nov 2026 12:29PM UTC 1524
70.35
GitHub Action Run
Source Files on build 46413879496
  • Tree
  • List 762
  • Changed 570
  • Source Changed 1
  • Coverage Changed 570
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46413879496
  • a30c99e0 on github
  • Prev Build on main (#46413823769)
  • Next Build on main (#46422748771)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc