mProjectsCode / mProjectsCode/obsidian-shiki-plugin
Odd display in list
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
- The Plugin is up to date
- 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):
Screenshot with css snippets disabled:
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
- Windows
- macOS
- Linux
- Android
- iOS
Other platforms are not tested.
Plugin version
0.7.0
Additional context
Original code block from obsidian also has the similar bug.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by reproducing the nested-list and code-block examples from the issue on Windows or Android, then trace the plugin's code-block rendering path. Done means removing the extra line and preserving the expected indentation for code blocks in lists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100