obsidian-shiki-plugin icon indicating copy to clipboard operation
obsidian-shiki-plugin copied to clipboard

Odd display in list

Open Fros1er opened this issue 4 months ago • 1 comments

  • [x] The Plugin is up to date
  • [x] Obsidian is up to date

Describe the bug An extra line appeared when code blocks in list. Also, the code block itself should be indented.

Screenshot with some css snippets (which doesn't caused the bug): Image

Screenshot with css snippets disabled: Image

To Reproduce

- list
- ``` c
code
  ```
- list
	- nested list
		- nested nested list
		- ``` c
		  code
		  ```
		- nested nested list
		``` c
			code block without bullet
		```
		- nested nested list
		- ``` c
		  code block in edit
		  lines
	  more lines
		  ```
	- nested list

Occurs on

  • [x] Windows
  • [ ] macOS
  • [ ] Linux
  • [x] Android
  • [ ] iOS Other platforms are not tested.

Plugin version 0.7.0

Additional context Original code block from obsidian also has the similar bug.

Fros1er avatar Sep 14 '25 18:09 Fros1er

I have the same problem. Have you found a solution? This started with the latest Obsidian update, which, as far as I know, had changes to code blocks in lists.

Image

kSherp avatar Nov 06 '25 06:11 kSherp