vp on Nostr: Currently it is a wellknown issue on a platform and folks aktively work on it. The ...
Currently it is a wellknown issue on a platform and folks aktively work on it.
The core of issue - when you add a language specifier to a code block your outpur gets broken

As a workaround you just omit a specifier and evrything will work but you do not have a code highlites that really help with code readebility.
So as a workaround you could use a cool feature of YakiHone platform - HTML support in a editor.
- go to http://hilite.me/ or similar site. Try to find one that embed all as a html

- copy html code and past it to editor

Enjoy !
Published at
2023-08-21 10:35:29Event JSON
{
"id": "e861aa0996385b898381f486e05eb52bd37c11f79a0998e1d0f6053f4b70b115",
"pubkey": "e681745398e44c2ed67f116a02bc9e53d63d7de5eb26039224486801b0ac3c39",
"created_at": 1692614129,
"kind": 30023,
"tags": [
[
"client",
"yakihonne.com"
],
[
"published_at",
"1692614129587"
],
[
"d",
"QjyWOzYLv4xU5_lviq1M-"
],
[
"image",
"https://cdn.nostr.build/i/7974cdc41a844dc45f22e43145deaa787374b585a650c91ecb1e2606c3c47558.png"
],
[
"title",
"How to highlight code blocks on YakiHonne "
],
[
"summary",
"How to add a code blocks to yakihonne"
],
[
"t",
"yakihonne"
],
[
"t",
"editing "
],
[
"t",
"code "
]
],
"content": "Currently it is a wellknown issue on a platform and folks aktively work on it. \nThe core of issue - when you add a language specifier to a code block your outpur gets broken \n\n\nAs a workaround you just omit a specifier and evrything will work but you do not have a code highlites that really help with code readebility. \nSo as a workaround you could use a cool feature of YakiHone platform - HTML support in a editor.\n- go to [http://hilite.me/](http://hilite.me/) or similar site. Try to find one that embed all as a html\n\n- copy html code and past it to editor \n\n\nEnjoy !\n\n",
"sig": "92799052246ba302d6234aef52a58d264a6c8325da4886a37bd0becf82e741efd129b97de7b3b929c944b8749181c3f6c1e0d99da3ed0df7647d1504ee70f3e1"
}