I delayed the transition to new Obsidian Features as Live Preview because some inner issues and others related to plugins. To work with new versions I was enabling “Use legacy editor”. But now I’ve completely jumped and try new things.
I work mostly in the renamed “Source mode” and I’m facing a strange behavior with backticks to inline and block codes.
Steps to reproduce
1. Inline code
When I write the first backtick at the start of a new line, I get automatically the second backtick, the cursor stay between the two backtips, but when I start to write (jumping the vowels problem) text jump to after the second backtips.
inline.mov.zip (1.1 MB)
2. block codes
With block codes the behavior it’s different.
We are an ‘animal’ of habits. So, until now the habit for block code was “three backticks” and start to write (something after the first set of backticks - the language used, the prefix to plugins/queries, etc.; or a change of line to start the block content).
But now I only have “confusion”.
If I write three backticks I have a mess: six backticks and the cursor after them.
If I write two backticks I have three backticks in first line and more three in other line. In this case the cursor stay waiting after the first set of backticks… and:
- If I write something (for example “dataview”), the second set of backticks jumps to the first line!
- If I decide to “enter” and change the line, everything works fine.
- If I decide to go elsewhere outside the block code, then the two set of backticks joining and I have a set of six backticks.
block.mov.zip (1.5 MB)
Expected result
I expected a behavior similar to previous editor mode (and an updated behavior in relation to vowels)
Actual result
As described in “Steps to reproduce”.
Environment
- Operating system:
macOS 11.6.3 - Debug info:
SYSTEM INFO:
Obsidian version: v0.13.23
Installer version: v0.12.19
Operating system: Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64 20.6.0
Login status: logged in
Catalyst license: insider
Insider build toggle: off
Live preview: off
Legacy editor: off
Base theme: light
Community theme: Minimal
Snippets enabled: 0
Safe mode: on