Skip to content

Obsidian 样式:Thino 插件隐藏同步标志位

Obsidian Style: Thino Plugin Hides Sync Flag

Summarization

Many users have been following the progress of Thino (formerly Obsidian memos).

Also many users will carefully observe the changes in each version of Thino, because the plugin itself is hosted within the Obsidian main body, so while limited by Obsidian’s support, and also needing to meet user demands, some frequently asked questions will arise, for example:

These operations are designed to enable:

  • While using the independent storage interface, allowing users to always see the source file (markdown)

  • And also being able to allow content to be restored to its original position after users delete or archive it

Therefore, a series of text identifiers or flags are provided to help the plugin locate content. But some users may not like them.

The following CSS can help you hide Thino’s flags in source mode and live preview mode, and also provides simple compatibility for the indexed content of dataview and task plugins. Of course, because there are many plugins involved in related operations, full compatibility may not have been achieved yet.

Real Combat

/*thino id & webid*/
.cm-comment.cm-link.cm-quote.cm-quote-1{
display:none;
}
/*thino Type & thino deleted id & thino archiveid*/
.cm-comment.cm-hmd-footref2.cm-quote.cm-url{
display:none;
}
/*Diary Mode*/
span:not(.cm-formatting-link).cm-hmd-barelink.cm-link.cm-list-1 {
display:none;
}
/*dataview*/
span.dataview.inline-field-value span[data-dv-key="archived"]{
display:none;
}
span.dataview.inline-field-value span[data-dv-key="webId"]{
display:none;
}
span.dataview.inline-field-value span[data-dv-key="deleted"]{
display:none;
}
span.dataview.inline-field-key{
display:none;
}
span.dataview.inline-field-value{
display:none;
}

How to Hide the Sync Flag in the Kanban Plugin

If someone wants to link the Kanban and the diary, and the sub-items in the project list of the Kanban contain the Thino sync marker, how should it be handled? The answer is as shown below.

Obsidian Style: Thino Plugin Hides Sync Flag--How to Hide the Sync Flag in the Kanban Plugin

.kanban-plugin__item-markdown .dataview.inline-field-value{
display:none;
}
.kanban-plugin__item-markdown .dataview.inline-field-key{
display:none;
}