File tree Expand file tree Collapse file tree 7 files changed +8064
-7317
lines changed
Expand file tree Collapse file tree 7 files changed +8064
-7317
lines changed Original file line number Diff line number Diff line change 1+ <!--
2+ ~ Copyright 2023 Exactpro (Exactpro Systems Limited)
3+ ~
4+ ~ Licensed under the Apache License, Version 2.0 (the "License");
5+ ~ you may not use this file except in compliance with the License.
6+ ~ You may obtain a copy of the License at
7+ ~
8+ ~ http://www.apache.org/licenses/LICENSE-2.0
9+ ~
10+ ~ Unless required by applicable law or agreed to in writing, software
11+ ~ distributed under the License is distributed on an "AS IS" BASIS,
12+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ ~ See the License for the specific language governing permissions and
14+ ~ limitations under the License.
15+ -->
16+
17+ <script lang="ts">
18+ // File is copied from here: https://github.com/nuxt/content/blob/main/src/runtime/components/Prose/ProseCode.vue
19+ // Here just single root element is added and styles are removed
20+ // TODO: remove this file when https://github.com/nuxt/content/issues/2111 is resolved
21+ import { defineComponent } from ' #imports'
22+
23+ export default defineComponent ({
24+ props: {
25+ code: {
26+ type: String ,
27+ default: ' '
28+ },
29+ language: {
30+ type: String ,
31+ default: null
32+ },
33+ filename: {
34+ type: String ,
35+ default: null
36+ },
37+ highlights: {
38+ type: Array as () => number [],
39+ default : () => []
40+ },
41+ meta: {
42+ type: String ,
43+ default: null
44+ }
45+ }
46+ })
47+ </script >
48+
49+ <template >
50+ <div >
51+ <slot />
52+ </div >
53+ </template >
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ Explore them to highlight specific content and make your pages interactive.
99
1010Contents:
1111
12- 1 . [ Notice] ( . /features/notice)
13- 2 . [ Term] ( . /features/term)
14- 3 . [ Diagram] ( . /features/mermaid)
12+ 1 . [ Notice] ( /features/notice )
13+ 2 . [ Term] ( /features/term )
14+ 3 . [ Diagram] ( /features/mermaid )
You can’t perform that action at this time.
0 commit comments