Use case or problem
Obsidian has a “readable line length” feature that improves readability for text-heavy documents by wrapping lines at a more comfortable width. While this is excellent for most documents, it causes an issue with documents containing Mermaid charts. These charts are cut off when “readable line length” is enabled, making them difficult to view and work with.
For example, I have hundreds of text documents that benefit from the readable line length feature, but a smaller subset of documents includes charts that do not render correctly due to the line length restriction.
Proposed solution
Introduce the ability to toggle the “readable line length” setting on a per-document basis. This would allow users to disable it for specific documents, such as those containing charts, without affecting the global setting.
Alternatively, provide a quick toggle in the interface (e.g., a button or command) to enable or disable “readable line length” without navigating into preferences. This would make it easier to switch modes when working with different types of documents.
Current workaround (optional)
The current workaround is to disable “readable line length” globally in preferences when working on documents with charts, then re-enable it for text documents. This process is cumbersome, especially when switching back and forth frequently.
Related feature requests (optional)
I have searched the forums but have not found a feature request directly addressing this issue. If there are similar requests, I will link them in a follow-up comment.