Open doggy8088 opened 11 months ago
The SlidesCodeHighlighter is not able to paste code with the right format into PowerPoint correctly.
SlidesCodeHighlighter
When I paste code into it, it will become only 1 line.
It because PowerPoint can't treat <pre> tag correctly.
<pre>
I have workaround for this. I learned from Visual Studio Code.
\n
<br>
 
<div>
Another workaround: Paste to Word first, and from there to PowerPoint. You will probably need to reset line spacing, but otherwise it works.
The
SlidesCodeHighlighter
is not able to paste code with the right format into PowerPoint correctly.When I paste code into it, it will become only 1 line.
It because PowerPoint can't treat
<pre>
tag correctly.I have workaround for this. I learned from Visual Studio Code.
\n
as<br>
 
.<div>
( don't use<pre>
)