qiubaiying.github.io icon indicating copy to clipboard operation
qiubaiying.github.io copied to clipboard

页面不兼容R语言代码的显示

Open champeil opened this issue 1 year ago • 2 comments

image 我在写入R语言代码的时候,都会显示成一行,请问要怎么修改呢?感谢大佬~

champeil avatar Jan 08 '24 07:01 champeil

Change syntax.css same regions to codes below:

.highlight pre code * { /* white-space: nowrap; // this sets all children inside to nowrap*/ white-space: pre; // this sets all children inside to nowrap }

ChevyXu avatar Jan 25 '24 08:01 ChevyXu

ok, thanks a lot, it succeeds.

champeil avatar Jan 25 '24 08:01 champeil