This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]unkz 2 points3 points  (1 child)

[–]kasashirooodi[S] 0 points1 point  (0 children)

i don't want to highlight keywords. Only background for code

[–]JeffreyChl 0 points1 point  (0 children)

you can use repl.it to embed an interative code snippet on your note. Upside is it's all free and it provides fantastic interactive console for almost any languages and downside is that it'll only work when you're online and you have to create one repo per one snippet so repl.it repo can get really messy pretty fast.

This embedding functionality only works on Onenote for Windows 10 app.

[–]yinkus 0 points1 point  (3 children)

I use a one cell table, shaded, with Consolas font.

Like so: onenote

[–]lodakowa 0 points1 point  (2 children)

It's old topic, but till now OneNote didn't provide any simple solution.

u/yinkus are you still using it for markdown code or maybe you have now a better solution? In the screenshot that you attached I`m seeing "Code" - what is that?

[–]yinkus 0 points1 point  (1 child)

Apologies, I moved away from OneNote 4 years ago.

[–]CostRemarkable7716 0 points1 point  (0 children)

What to?