vuepress-plugin-example-preview icon indicating copy to clipboard operation
vuepress-plugin-example-preview copied to clipboard

fix: highlight at runtime and add todomvc example

Open ulivz opened this issue 4 years ago • 1 comments

What kind of change does this PR introduce? (check at least one)

  • [x] Bugfix
  • [x] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [ ] Build-related changes
  • [ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [x] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
  • [ ] All tests are passing
  • [ ] New/updated tests are included

If adding a new feature, the PR's description includes:

  • [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

image

image

image

image

image

ulivz avatar Oct 06 '19 21:10 ulivz

Codecov Report

Merging #2 into master will decrease coverage by 18.05%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #2       +/-   ##
==========================================
- Coverage   95.55%   77.5%   -18.06%     
==========================================
  Files          10       6        -4     
  Lines          45      40        -5     
  Branches        6       6               
==========================================
- Hits           43      31       -12     
- Misses          2       9        +7
Impacted Files Coverage Δ
lib/index.js 0% <0%> (ø)
lib/ExamplePreviewFileContent.vue 100% <100%> (ø) :arrow_up:
lib/ExamplePreview.vue 96.42% <66.66%> (ø) :arrow_up:
lib/ExamplePreviewBarButton.vue 0% <0%> (-100%) :arrow_down:
lib/icons/brackets.svg
docs/examples/counter/Counter.vue
docs/examples/counter/App.vue
lib/icons/codesandbox.svg
docs/examples/counter/index.js
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bfb5944...c212ec7. Read the comment docs.

codecov-io avatar Oct 06 '19 21:10 codecov-io