Okey, I know it’s ridiculous and hard to say: I give up logseq.
I’ve used it 3 years, and make 1400 pages. Honestly, I’m not a good one using it, especially in earlier version, they released very fast, I even don’t know when they add the support of markdown YAML properties.1
Fatal Problem: hard to build a huge system
What part of logseq annoy me following:
The performance never comes to usable in a large context.
Outline render
Historical baggage
As I said above, features applied again and again, which break the the whole construction of PKM as well. That means, the downward compatibility of system is impossible and difficult.
I need to break my PKM three times, and finally I give up it. Since enabled telegram inbox + telegram RSS bot, I was fell into the hell of poor performance.
In a word, it’s wasting time and no worth any more.
Hard to share & read with raw format
The active user on community I know is xxx, which shared opinions via LOGSEQ format.
How to comment? I agree this is a simple and awesome way. But it’s really hard to read and understand as well.
Database version
Now official has announced,2 and alpha test has started. The double preview way is available following:
I meet some imported problem, such as excludelist
config on config.edn
would not ignore when imported, no uuid found for page name nil
.
When I delete the pdf annotations, and imported most of them, I was so excited to try reviewing notes on database version. I sadly notice:
- Query is slower then MV.
- Page is easier to be stuck then MV.
- Breaking up browser and need to be relaunched.
- Editing block is so difficult as same as MV.
Compared to MV, database is not solving any problems on performance. And you are losing the support of template
, schedule
, sync local pure markdown file (cooperated with other tools base on pure text), and desktop plugins support.
They really have a very very long way to reach. I have no time to wait them.
Switch obsidian Notes
Replace all properties ::
with yaml
format
replace yaml
to ::
is easy. But using regex to replace ::
to yaml
is a hard thing.
But there is something worth to try
-Org-mode syntax
#\+BEGIN_PIN\n([ ]+)
#\+BEGIN_PINNED\n([ ]*)
#\+BEGIN_PIN\n([ ]+)
#\+BEGIN_EXAMPLE\n([ ]+)
#\+BEGIN_NOTE\n([ ]+)
#\+BEGIN_WARNING\n([ ]+)
#\+BEGIN_IMPORTANT\n([ ]+)
+>[!tip]\n$1
- no used property
[ ]*closed: .*\n
- shadule time
^\s*\* State "DONE" from "WAIT".*$\
[ ]+:LOGBOOK:[\n]+[ ]+:END:\n([ ]+)
[ ]+:LOGBOOK:\n[ ]*:END:\n([ ]+)
- no use break line
^-\n
\n---\n[^\n ]
- attachments
! \[(.*)\]\(\.\./assets
- title: \[(.*?)\]\((.*)\)
$1- title: $2\n$1 source: $3
<div class='text-center'>via: <a href='(.*?)' target='_blank' class='external-link'>(.*?)</a></div>
<center>via: <a href='$1' target='_blank' class='external-link'>$1</a></center>
Properties
Date not link journals
Date format shown
Value cannot be a image
That not impossible with ![]()
as value. Yet use link and format it on dataview query.
https://forum.obsidian.md/t/how-do-you-dynamically-embed-a-picture-tied-to-a-metadata-value/54011
Plugins
Web Cliper template
Github
{
"schemaVersion": "0.1.0",
"name": "Github: Repo",
"behavior": "create",
"noteContentFormat": "## Meta\n\n/([^&]+).*/g':'$1/$2'}}?style=for-the-badge&label=stars) /([^&]+).*/g':'$1/$2'}}?style=for-the-badge&label=size) /([^&]+).*/g':'$1/$2'}}?style=for-the-badge&label=date)\n\n## Notes\n\n",
"properties": [
{
"name": "title",
"value": "{{url|replace:'/.*github.com/([^&]+)/([^&]+).*/g':'$1/$2'}}",
"type": "text"
},
{
"name": "aliases",
"value": "{{url|replace:'/.*github.com/([^&]+)/([^&]+).*/g':'$2'}}",
"type": "text"
},
{
"name": "created",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "datetime"
},
{
"name": "modified",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "datetime"
},
{
"name": "description",
"value": "{{title|replace:'/.*/.*\\: /g':''}}",
"type": "text"
},
{
"name": "source",
"value": "{{url}}",
"type": "text"
},
{
"name": "tags",
"value": "star",
"type": "multitext"
},
{
"name": "type",
"value": "repo",
"type": "text"
}
],
"triggers": [
"https://github.com/"
],
"noteNameFormat": "{{url|replace:'/.*github.com/([^&]+)/([^&]+).*/g':'$1-$2'}}",
"path": "archives/clip-repo"
}
Douban
{
"schemaVersion": "0.1.0",
"name": "Douban",
"behavior": "create",
"noteContentFormat": "\n## Comments\n\n## References\n",
"properties": [
{
"name": "title",
"value": "{{schema:@Movie:name}}",
"type": "text"
},
{
"name": "cover",
"value": "{{schema:@Movie:image}}",
"type": "text"
},
{
"name": "alias",
"value": "{{schema:@Movie:name}}",
"type": "text"
},
{
"name": "author",
"value": "{{author}}",
"type": "multitext"
},
{
"name": "created",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "datetime"
},
{
"name": "modified",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "datetime"
},
{
"name": "published",
"value": "{{published}}",
"type": "datetime"
},
{
"name": "description",
"value": "{{schema:@Movie:description}}",
"type": "text"
},
{
"name": "tags",
"value": "douban",
"type": "multitext"
},
{
"name": "type",
"value": "movie",
"type": "text"
},
{
"name": "douban",
"value": "{{url}}",
"type": "text"
},
{
"name": "imdb",
"value": "https://www.imdb.com/title/",
"type": "text"
}
],
"triggers": [
"https://movie.douban.com/subject/"
],
"noteNameFormat": "~{{title|uncamel|safe_name|replace:\"_哔哩哔哩_bilibili\":\"\"|replace:\"-\":\" \"|replace:\"…\":\" \"|replace:\":\":\" \"|replace:\".\":\" \"|replace:\"?\":\" \"|replace:\",\":\" \"|replace:\"!\":\" \"|replace:\"|\":\" \"|replace:\"【\":\" \"|replace:\"】\":\" \"|replace:\"[\":\" \"|replace:\"]\":\" \"|replace:\"!\":\" \"|replace:\"“\":\" \"|replace:\"”\":\" \"|replace:\"《\":\" \"|replace:\"》\":\" \"|trim|replace:\"/[ ]+/g\":\" \"|replace:\" \":\"-\"}}",
"path": "archives/clip-douban"
}
Web Pages
正则适配网站:
- https://wufazhuce.com
- https://sspai.com
- 包含所有中英文特殊字符的替换(
-
)
{
"schemaVersion": "0.1.0",
"name": "Web Page",
"behavior": "create",
"noteContentFormat": "{{content}}",
"properties": [
{
"name": "title",
"value": "{{title|safe_name|replace:\\\"_哔哩哔哩_bilibili\\\":\\\"\\\"|replace:\\\"-\\\":\\\" \\\"|replace:\\\"…\\\":\\\" \\\"|replace:\\\":\\\":\\\" \\\"|replace:\\\".\\\":\\\" \\\"|replace:\\\"?\\\":\\\" \\\"|replace:\\\",\\\":\\\" \\\"|replace:\\\"!\\\":\\\" \\\"|replace:\\\"|\\\":\\\" \\\"|replace:\\\"【\\\":\\\" \\\"|replace:\\\"】\\\":\\\" \\\"|replace:\\\"[\\\":\\\" \\\"|replace:\\\"]\\\":\\\" \\\"|replace:\\\"!\\\":\\\" \\\"|replace:\\\"“\\\":\\\" \\\"|replace:\\\"”\\\":\\\" \\\"|replace:\\\"《\\\":\\\" \\\"|replace:\\\"》\\\":\\\" \\\"|trim|replace:\\\"/[ ]+/g\\\":\\\" \\\"|replace:\\\" \\\":\\\"-\\\"}}",
"type": "text"
},
{
"name": "created",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "date"
},
{
"name": "created-link",
"value": "[[{{date|date:YYYYMMDD}}]]",
"type": "text"
},
{
"name": "modified",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "text"
},
{
"name": "pagse",
"value": "",
"type": "multitext"
},
{
"name": "source",
"value": "{{url}}",
"type": "text"
},
{
"name": "tags",
"value": "todo",
"type": "multitext"
},
{
"name": "tags-link",
"value": "",
"type": "text"
},
{
"name": "type",
"value": "archive-web",
"type": "text"
}
],
"triggers": [],
"noteNameFormat": "~{{title|safe_name|replace:\"_哔哩哔哩_bilibili\":\"\"|replace:\"-\":\" \"|replace:\"…\":\" \"|replace:\":\":\" \"|replace:\".\":\" \"|replace:\"?\":\" \"|replace:\",\":\" \"|replace:\"!\":\" \"|replace:\"|\":\" \"|replace:\"【\":\" \"|replace:\"】\":\" \"|replace:\"[\":\" \"|replace:\"]\":\" \"|replace:\"!\":\" \"|replace:\"“\":\" \"|replace:\"”\":\" \"|replace:\"《\":\" \"|replace:\"》\":\" \"|trim|replace:\"/[ ]+/g\":\" \"|replace:\" \":\"-\"}}",
"path": "archives/clip-webpages"
}
Youtube
{
"schemaVersion": "0.1.0",
"name": "YouTube",
"behavior": "create",
"noteContentFormat": "## Source\n\n<iframe src=\"https://www.youtube.com/embed/{{url|replace:'/.*v=([^&]+).*/g':'$1'}}\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen/><center>via: <a href='https://www.youtube.com/watch?v={{url|replace:'/.*v=([^&]+).*/g':'$1'}}' target='_blank' class='external-link'>https://www.youtube.com/watch?v={{url|replace:'/.*v=([^&]+).*/g':'$1'}}</a></center>\n\n## Notes\n\n",
"properties": [
{
"name": "title",
"value": "{{schema:name|safe_name|replace:\\\"_哔哩哔哩_bilibili\\\":\\\"\\\"|replace:\\\"…\\\":\\\" \\\"|replace:\\\":\\\":\\\" \\\"|replace:\\\".\\\":\\\" \\\"|replace:\\\"?\\\":\\\" \\\"|replace:\\\",\\\":\\\" \\\"|replace:\\\"!\\\":\\\" \\\"|replace:\\\"|\\\":\\\" \\\"|replace:\\\"【\\\":\\\" \\\"|replace:\\\"】\\\":\\\" \\\"|replace:\\\"[\\\":\\\" \\\"|replace:\\\"]\\\":\\\" \\\"|replace:\\\"!\\\":\\\" \\\"|replace:\\\"“\\\":\\\" \\\"|replace:\\\"”\\\":\\\" \\\"|replace:\\\"《\\\":\\\" \\\"|replace:\\\"》\\\":\\\" \\\"|trim|replace:\\\" \\\":\\\" \\\"|replace:\\\" \\\":\\\"-\\\"}}",
"type": "text"
},
{
"name": "cover",
"value": "{{schema:thumbnailUrl|slice:0}}",
"type": "text"
},
{
"name": "author",
"value": "{{schema:author}}",
"type": "text"
},
{
"name": "created",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "date"
},
{
"name": "created-link",
"value": "[[{{date|date:YYYYMMDD}}]]",
"type": "text"
},
{
"name": "modified",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "text"
},
{
"name": "published",
"value": "{{schema:uploadDate|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "date"
},
{
"name": "description",
"value": "{{description}}",
"type": "text"
},
{
"name": "source",
"value": "{{url}}",
"type": "text"
},
{
"name": "tags",
"value": "youtube",
"type": "multitext"
},
{
"name": "tags-link",
"value": "",
"type": "text"
},
{
"name": "type",
"value": "video",
"type": "text"
}
],
"triggers": [
"https://www.youtube.com/watch?v="
],
"noteNameFormat": "{{url|replace:'/.*v=([^&]+).*/g':'$1'}}-{{schema:name|safe_name|replace:\"_哔哩哔哩_bilibili\":\"\"|replace:\"…\":\" \"|replace:\":\":\" \"|replace:\".\":\" \"|replace:\"?\":\" \"|replace:\",\":\" \"|replace:\"!\":\" \"|replace:\"|\":\" \"|replace:\"【\":\" \"|replace:\"】\":\" \"|replace:\"[\":\" \"|replace:\"]\":\" \"|replace:\"!\":\" \"|replace:\"“\":\" \"|replace:\"”\":\" \"|replace:\"《\":\" \"|replace:\"》\":\" \"|trim|replace:\" \":\" \"|replace:\" \":\"-\"}}",
"path": "archives/clip-youtube"
}
Bilibili
{
"schemaVersion": "0.1.0",
"name": "Bilibili",
"behavior": "create",
"noteContentFormat": "## Source\n\n<iframe src='https://player.bilibili.com/player.html?isOutside=true&bvid={{url|replace:'/.*video/([^&]+).*//g':'$1'}}&p=1&autoplay=false' style='height:40vh;width:100%' class='iframe-radius' allow='fullscreen'/><center>via: <a href='https://www.bilibili.com/video/{{url|replace:'/.*video/([^&]+).*//g':'$1'}}' target='_blank' class='external-link'>https://www.bilibili.com/video/{{url|replace:'/.*video/([^&]+).*//g':'$1'}}</a></center>\n\n\n## Notes\n\n",
"properties": [
{
"name": "title",
"value": "{{title|safe_name|replace:\\\"_哔哩哔哩_bilibili\\\":\\\"\\\"|replace:\\\"…\\\":\\\" \\\"|replace:\\\":\\\":\\\" \\\"|replace:\\\".\\\":\\\" \\\"|replace:\\\"?\\\":\\\" \\\"|replace:\\\",\\\":\\\" \\\"|replace:\\\"!\\\":\\\" \\\"|replace:\\\"|\\\":\\\" \\\"|replace:\\\"【\\\":\\\" \\\"|replace:\\\"】\\\":\\\" \\\"|replace:\\\"[\\\":\\\" \\\"|replace:\\\"]\\\":\\\" \\\"|replace:\\\"!\\\":\\\" \\\"|replace:\\\"“\\\":\\\" \\\"|replace:\\\"”\\\":\\\" \\\"|replace:\\\"《\\\":\\\" \\\"|replace:\\\"》\\\":\\\" \\\"|trim|replace:\\\" \\\":\\\" \\\"|replace:\\\" \\\":\\\"-\\\"}}",
"type": "text"
},
{
"name": "cover",
"value": "{{schema:thumbnailUrl|slice:0}}",
"type": "text"
},
{
"name": "author",
"value": "{{author}}",
"type": "text"
},
{
"name": "created",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "date"
},
{
"name": "created-link",
"value": "[[{{date|date:YYYYMMDD}}]]",
"type": "text"
},
{
"name": "modified",
"value": "{{date|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "text"
},
{
"name": "published",
"value": "{{schema:uploadDate|date:YYYY-MM-DDTHH:mm:ss}}",
"type": "date"
},
{
"name": "description",
"value": "{{description|replace: \\\"/(.*), 视频播放量.*/g\\\":\\\"$1\\\"}}",
"type": "text"
},
{
"name": "source",
"value": "{{url}}",
"type": "text"
},
{
"name": "tags",
"value": "bilibili",
"type": "multitext"
},
{
"name": "tags-link",
"value": "",
"type": "text"
},
{
"name": "type",
"value": "video",
"type": "text"
}
],
"triggers": [
"https://www.bilibili.com/video/"
],
"noteNameFormat": "{{url|replace:'/.*video/(\\w+).*[/]*/g':'$1'}}-{{title|safe_name|replace:\"_哔哩哔哩_bilibili\":\"\"|replace:\"…\":\" \"|replace:\":\":\" \"|replace:\".\":\" \"|replace:\"?\":\" \"|replace:\",\":\" \"|replace:\"!\":\" \"|replace:\"|\":\" \"|replace:\"【\":\" \"|replace:\"】\":\" \"|replace:\"[\":\" \"|replace:\"]\":\" \"|replace:\"!\":\" \"|replace:\"“\":\" \"|replace:\"”\":\" \"|replace:\"《\":\" \"|replace:\"》\":\" \"|trim|replace:\" \":\" \"|replace:\" \":\"-\"}}",
"path": "archives/clip-bilibili"
}
Reminder
Chinese Tools
Turn to page
Agenda
Markmap
Web parser
Hotkey
alt+a/d
outliner movectrl+enter
task switchcommand+1
heading switch- Easily switch between source mode ←> live preview ←>
- Is there a plugin for changing blocks locations? : r/ObsidianMD
Graph
- local graph
- global graph
- Global graph view: open with currently active note highlighted - Feature archive - Obsidian Forum
Miss macros
- Iframe - Help - Obsidian Forum
- Simple macros? - Help - Obsidian Forum
- What are the creative ways to use iframes … : r/ObsidianMD
PDF annotations
CSS
Image size
/* via: https://forum.obsidian.md/t/resize-image/6517/17
*/
.markdown-preview-view img[alt="sm"] {
width: max(300px,30%);
max-height:auto;
}
.markdown-preview-view img[alt="md"] {
width: max(500px,50%);
max-height:auto;
}
.markdown-preview-view img[alt="lg"] {
width: max(1080px,70%);
max-height:auto;
}
Iframe
Warning
Some video cannot be iframed. That would be unavailable. If iframe the whole page, the video will be played automatically. via: https://forum.obsidian.md/t/youtube-video-unavailable/61107 https://stackoverflow.com/questions/44839312/disable-auto-play-in-youtube-embeded-code
Code block with no wrap
Full width cssclasses
/*
* via: https://forum.obsidian.md/t/optional-full-width-note-css/15444/19
*/
.wide-view {
--custom-line-width: 100%; /* <- change this */
--file-line-width: var(--custom-line-width);
}
body.minimal-theme.minimal-theme .wide-view {
--line-width: var(--custom-line-width);
--max-width: 95%;
}
Query
Exclude some folder
-path: foldername
- https://www.reddit.com/r/ObsidianMD/comments/w6p5xc/how_do_i_exclude_templates_from_this_dataview/
- https://forum.obsidian.md/t/exclude-templates-folder-from-file-explorer-graph/5012/7
More Query
- https://publish.obsidian.md/tasks/Queries/About+Queries
- https://forum.obsidian.md/t/dataview-how-to-specify-the-order-of-properties/69721
Embed files
Only support local embed 3
![[demo.pdf]]
Not support http embed.

Others
- Use spaces instead of tab: https://forum.obsidian.md/t/use-tabs-off-only-replaces-tabs-with-spaces-in-lists/3583
- Show location of currently open file - Feature requests - Obsidian Forum
- Any way to disable line wrapping in code blocks? : r/ObsidianMD
Footnotes
-
in earlier version, they released fast, I used to learn feature via changelog. the hierachy is using via twitter, the macros via community discuss. and even someone analyze the logic of language, break it into pieces, and try explain it with Logseq. ↩
-
Why the database version and how it’s going? - Announcements - Logseq ↩
-
https://help.obsidian.md/Linking+notes+and+files/Embed+files ↩