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
![$1](../assets
 
- properties
([ ]*)- 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 format shown

Properties: let the user customize the way Dates/Times are displayed (independently from OS) - Feature requests - Obsidian Forum

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![](https://img.shields.io/github/stars/{{url|replace:'/.*github.com/([^&]+)/([^&]+).*/g':'$1/$2'}}?style=for-the-badge&label=stars) ![](https://img.shields.io/github/repo-size/{{url|replace:'/.*github.com/([^&]+)/([^&]+).*/g':'$1/$2'}}?style=for-the-badge&label=size) ![](https://img.shields.io/github/created-at/{{url|replace:'/.*github.com/([^&]+)/([^&]+).*/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

正则适配网站:

  1. https://wufazhuce.com
  2. https://sspai.com
  3. 包含所有中英文特殊字符的替换(-
{
  "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

Graph

Miss macros

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

More Query

Embed files

Only support local embed 3

![[demo.pdf]]

Not support http embed.

![](https://github.com/assets/demo.pdf)

Others

Footnotes

  1. 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.

  2. Why the database version and how it’s going? - Announcements - Logseq

  3. https://help.obsidian.md/Linking+notes+and+files/Embed+files