Skip to content

Fix list depth rendering in Obsidian markdown#40

Open
gabrielwithappy wants to merge 1 commit intokepano:mainfrom
gabrielwithappy:fix/list-depth-rendering
Open

Fix list depth rendering in Obsidian markdown#40
gabrielwithappy wants to merge 1 commit intokepano:mainfrom
gabrielwithappy:fix/list-depth-rendering

Conversation

@gabrielwithappy
Copy link

Overview

This PR fixes the issue where nested lists in Obsidian markdown documents don't render with correct depth levels.

Key Changes

1. Added New Section

  • Added Nested Lists and Indentation section with clear guidance on TAB character usage
  • Explains best practices for proper list depth rendering in Obsidian

2. Improved List Examples

  • Replaced space indentation with TAB characters in all nested list examples
  • Updated Unordered Lists and Task Lists examples
  • Added clear comments indicating TAB usage

3. Table Formatting Improvements

  • Applied consistent table separator styling
  • Improved alignment for better readability

Technical Details

  • Obsidian renders nested list depth based on TAB-based indentation
  • Each TAB level represents one level of nesting
  • This ensures consistent rendering across different editors and sync clients

Testing

  • Converted space-indented lists to TAB-indented lists in the SKILL document
  • Verified that nested lists now render correctly in Obsidian with proper depth levels
  • Confirmed the changes display properly across different list types (unordered, ordered, task lists)
- Add 'Nested Lists and Indentation' section explaining TAB usage
- Replace space indentation with TAB characters in list examples
- Ensure consistent nested list rendering across editors
- Improve table formatting consistency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant