Open khanhtoan529 opened 5 months ago
You can export the document from the view context menu item export document
. This will remove the comments.
If your document uses headings, you can import it back using the split card
card context menu item.
Alternatively, you can use the outline
format to maintain hierarchy.
Could you find a way to make this plugin work without these marks
Can you suggest an alternative way for the plugin to know the hierarchy of the document?
Can you suggest an alternative way for the plugin to know the hierarchy of the document?
Unfortunately, I'm not a software developer, so I have no idea about this. But thank you for your response.
Should this FR be closed or open for future enhancement?
I can think of three ways, but I'm personally not sure if any of them is better than using plain text comments or the outline format (1) Use headings:
(2) Store the line number
+ line content
in the plugin settings along with the structure
:
(3) Use invisible <div>
elements:
I think option (3) would be fine because most of us will use live preview
mode, making the section mark invisible. Additionally, if a user wants to edit that markdown file using Lineage, they will likely rarely edit it in markdown mode. They would primarily use markdown mode to check the file format, not for editing.
They would primarily use markdown mode to check the file format, not for editing
If you don't mind invisible text, you can use this CSS snippet to hide comments
.cm-comment {
opacity: 0;
transition: opacity 200ms;
}
.cm-comment:hover {
opacity: 1
}
It works great. However, I still prefer to be able to remove it instead of hiding it away. Looking for future updates ☺️
What would you like to be added?
These section marks add directly into the markdown file, making it feel really cluttered to read or export. Could you find a way to make this plugin work without these marks?
Actual:
Expected result:
Why is this feature needed?
This will make the markdown file have a consistent format with other notes.
Estimated usefulness for plugin users
Useful for the majority of users