File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed
client/theme-default/styles/components Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 305
305
306
306
.vp-doc [class *= 'language-' ] pre ,
307
307
.vp-doc [class *= 'language-' ] code {
308
- /*rtl:ignore*/
309
- direction : ltr;
310
- /*rtl:ignore*/
311
- text-align : left;
312
- white-space : pre;
313
- word-spacing : normal;
314
- word-break : normal;
315
- word-wrap : normal;
316
308
-moz-tab-size : 4 ;
317
309
-o-tab-size : 4 ;
318
310
tab-size : 4 ;
319
- -webkit-hyphens : none;
320
- -moz-hyphens : none;
321
- -ms-hyphens : none;
322
- hyphens : none;
323
311
}
324
312
325
313
.vp-doc [class *= 'language-' ] pre {
Original file line number Diff line number Diff line change @@ -80,7 +80,13 @@ export async function highlight(
80
80
classActivePre : 'has-focused-lines'
81
81
} ) ,
82
82
transformerNotationHighlight ( ) ,
83
- transformerNotationErrorLevel ( )
83
+ transformerNotationErrorLevel ( ) ,
84
+ {
85
+ name : 'vitepress:add-dir' ,
86
+ pre ( node ) {
87
+ node . properties . dir = 'ltr'
88
+ }
89
+ }
84
90
]
85
91
86
92
const vueRE = / - v u e (? = : | $ ) /
You can’t perform that action at this time.
0 commit comments