Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 24, 20186 yr Code in posts should have a codemirror syntax like in editor. When code is saved and embed in the post, the syntax is other and have a minor bugs, like brackets, dots, commas, etc.
September 24, 20186 yr I'm not sure I follow. Are you reporting a bug? You can use the 'code' button on the editor to insert code (and specify the language if you wish), and this should be retained when viewing posts, and when editing posts. We use prettify to make the code presented nicer when viewing the post, and it's a fairly well tested and established package. If you're experiencing specific issues I would encourage you to submit a ticket so we can take a look.
September 25, 20186 yr Author I know that. Ok, I will send a ticket 😉 But I will send screenshot here too. It's not possible to have a the same syntax in code editor and post content, here is minor "bugs" with commas, values, etc.
Archived
This topic is now archived and is closed to further replies.