Repository navigation
Description
Body:
Hi, I'm a developer using FSNotes for technical documentation. I really appreciate the native performance, plain‑text storage, and Git integration. However, I've run into two limitations that make it hard to use FSNotes as my primary technical writing tool. I'd like to report them together since both affect Markdown rendering quality.
- No way to customize document-level CSS themes (like Typora)
FSNotes currently offers several code highlight themes (Atom One Dark/Light, GitHub Dark/Light, etc.), but there is no option to customize the document preview styles — e.g. heading sizes, paragraph spacing, table borders, blockquote styling, etc.
In Typora, users can drop a custom CSS file to fully control how the rendered Markdown looks. This is very useful for technical docs where consistent typography and table/list formatting matter. Without this, FSNotes' preview always uses the built‑in style, and users cannot adapt it to their preferences or brand guidelines.
Expected behavior:
Provide a way to load a user‑provided CSS file that overrides the preview pane's default styles (similar to Typora's theme folder).
Ideally, expose this in Preferences → Appearance, or document a supported path (e.g. ~/Library/Application Support/FSNotes/custom.css).
I understand this may require changes to the rendering pipeline, but even a basic "load custom CSS" hook would be a huge improvement.
- Unordered list rendering issues when using - as the marker
When writing unordered lists with the hyphen - marker, some formats do not render correctly in the preview. For example:
Nested list items (especially deeper than 2 levels) sometimes lose their bullet markers or get merged into the previous item.
Lists mixed with fenced code blocks can cause the list to be parsed as code, or the code block to break out of the list context.
In some cases, a line starting with - followed by certain characters (e.g. - item after a blank line) is not recognized as a list item at all.
I've seen that issue #1519 (deeply nested unordered lists) was fixed in 6.4.1, and Tab indentation was added in 6.5.0. However, the problem still occurs in more complex scenarios, especially when lists and code blocks are adjacent.
Steps to reproduce (example):
markdown
-
Item 1
-
Item 2
- Nested item A
- Nested item B
console.log("code inside list");
Item 3
text
In the preview, the nested items or the code block may not render as expected — the list markers can disappear, or the code block may be treated as part of the list item incorrectly.
Expected behavior:
- All unordered list items (using
-,*, or+) should render with consistent bullet markers at every nesting level. - Lists containing fenced code blocks should preserve both the list structure and the code block formatting.
Environment
- FSNotes version: [e.g. 6.9.0]
- macOS version: [e.g. macOS 14.5]
- Mac model: [e.g. MacBook Pro M3]
Additional context
I've searched existing issues and found some related discussions (#1519, and older ones about list rendering), but the combination of custom CSS themes and residual list‑rendering edge cases still seems unresolved. I'm happy to provide more examples or test builds if helpful.
Thanks for maintaining FSNotes — it's a great native app, and these improvements would make it much more suitable for developer documentation.
Feel free to trim or split this into two separate issues if the maintainer prefers one topic per issue. The draft above keeps them together as you requested.
Activity