Obsidian render code block into html format. Help!

Hi I am new in obsidian, and currently dont know how to render code in my page

when I type code as tutorial on internet

Obsidian after enter will render it to
image

try to copy code from outside with paste plain text having the same issue

please help me! Thanks

Find out the issue, I put markdown syntax inside a table so it doesnt work.

Highly appreciate if anyone know how to overcome this.

You could try putting the code elsewhere and embedding it in the table (if you need it to be in a table).

1 Like

yes, it works thanks