I never mentioned CommonMark, so no idea where that comes from.
As I said, that’s what I did.
logseq.com? Like, front page?
It’s great that transclusion works for you. As I already said, I bet there are other use cases different to mine.
I never mentioned CommonMark, so no idea where that comes from.
As I said, that’s what I did.
logseq.com? Like, front page?
It’s great that transclusion works for you. As I already said, I bet there are other use cases different to mine.
I’m not seeing anything on the front page that says it holds itself to CommonMark specifications, or any specifications for that matter, so not really sure where you are getting the piece that it was advertised this way? The only piece that mentions markdown is = " Markdown files: Open your notes in other tools".
I mention CommonMark because if something tries to conform to standard markdown, CommonMark is the common specification = https://commonmark.org/. The other option is the Github standard = GitHub Flavored Markdown Spec.
For instance Obsidian has documented on their site that they uphold maximum compatibility between both standards (source). This standardization is what I am guessing you are looking for and why I mentioned it. If that’s not correct, feel free to elaborate.
Yeah, and I don’t see why keep you referring to specs at all.
THE reason why Markdown is useful is because it makes for good plaintext with light structure. That was its origin, that keeps being its use case (even for CommonMark), and that’s the only thing I expect from a program that claims Markdown compatibility.
I’d say it’s a pretty low bar! Certainly not higher than what the front page says.
Wouldn’t you agree?
Some of your comments mentioned “standard mark” and you referred to its readability while comparing it to Obsidian. Obsidian aims for maximum compatibility with those two specifications, leading me to believe that this was the specification you were referring to, even if you weren’t aware of it.
It does yes. However logseq again did not advertise that it would stick to a certain standard of formatting like you’d find with CommonMark. All what they have said is that files will be stored in Markdown files so that you can open them in other tools, that piece is accurate and true to this day. That statement does not say anything about readability or formatting of the file. Only that you would be able to edit the files in other tools, meaning your data is not locked away in a proprietary file format that only logseq can read, and if you did try to read it all what you would see is garbled characters.
So if you double check, you’ll see that it wasn’t me who introduced the word “standard” either - I just quoted others. On the contrary, what I did say is:
Wow… “Lack of garbled characters” is a new feature then. So yeah, my bar wasn’t low enough. You went ahead and dug a hole.
If I cared for Markdown as storage, I’d be clamoring for devs to publicly disavow this kind of weasel-word-lawyerized reading.
Glad it’s not longer my case. With friends like this…
Maybe not, but it was your argument point in several of your replies.
No, you claimed they “advertised” what you were talking about before, which was not true. That’s what I was clearing up is that what you thought was “advertised” was not actually advertised, and you read it wrong. That is all. Have a good day.
Logseq uses valid Markdown files as storage i.e. you can render it to HTML, PDF etc with other tools. Those won’t “understand” Logseq special syntax though, like wikilinks, TODOs, properties etc.
Markdown file storage is useful because you can edit files with any text editor, use them with other Markdown apps like Obsidian or Foam/Loam, version them with Git, sync and backup with file-based solutions, you can programmatically refactor your graph, for example with find&replace and so on.
The export to Markdown dialog is useful because:
[[ ]]
and turn wikilinks in normal words, since wikilinks are not standard Markdown (aka Commonmark)#hashtags
entirely, to use them for private managementWith the export feature this:
- # Title
- ## Subtitle
- [[Lorem]] ipsum [[dolor]] sit amet. #example
note:: a note to myself
source:: https://...
- ((3774726a-1679-4040-93a5-d80797e065f2))
can become this:
# Title
## Subtitle
Lorem ipsum dolor sit amet.
making Logseq a preprocessor for Markdown: it can extract standard Markdown out of a non-linear structure by resolving block & page references and removing the syntax defining the structure.
Evidently you missed the options at the bottom of Export dialog.
Even though Obsidian is not a Markdown preprocessor like Logseq but more a Markdown editor, it should support Markdown export since Obsidian, just like Logseq, uses custom Markdown extensions like wikilinks and block references.
Being able to edit “transcluded” blocks is just the most evident use of Logseq approach (turning files into a structured DB you can query with bi-directional sync). Logseq can provide a lot of each features because it “understands” the content of files and the content of blocks. And plugins (and the advanced user manually too) have access to that structured content. In Obsidian you have the DataView plugin, well, it can’t support editing query results because Obsidian doesn’t use Logseq’s approach.
Obsidian produces Commonmark Markdown files with its own extensions. Logseq does the same but these Markdown files are Markdown indented lists. If you want to produce common Markdown files, Logseq is an excellent Markdown preprocessor thanks to the Export feature, as I explained above.
Logseq uses an in-memory DB called DataScript and Markdown files as permanent storage. Now they are making Logseq save the DataScript DB on the disk using SQLite, then they will make this permanent DB synced with Markdown files, providing the same experience we have now but without all the issue that comes from syncing DataScript with Markdown files directly.
No, you didn’t understand Logseq and you could have just asked here like many other users do. Instead you have the presumption of having understood everything and you come here to criticize.
Now I hope everything is clear. Peace.
Please, @Zyrohex, explain to @alex0 that without a specification the word “valid” makes no sense. (I ask you because you’re the one who got focused on specs)
It’s silly to die on this particular hill for a format as freewheeling as Markdown. Even more when Logseq fills the format with garbage like it does. But here we are.
The graph export dialog has no options.
I hope you don’t mean that I should use the page export dialog, page by page.
Because that would mean you’re out of your mind.
The spec is called Commonmark and it is what almost everything refers to as standard Markdown, including Obsidian. This forum, Discourse, uses Commonmark since the main developer of Discourse is also one of the three authors of Commonmark spec.
Right click on the bullet point of any block > Copy / Export as. This allows you to use Logseq as a Markdown preprocessor. Migration is another use case I didn’t explore yet.
That’s great, but I thought we were talking about Logseq? What has this to do with anything?
I don’t even know why I’m discussing here anymore. Good luck everyone!
What Alex says is true, Logseq does follow most syntax rules for CommonMark, that is what Logseq have documented which I provided a link to previously. I think you just have a misunderstanding and you’ve made some assumptions, such as what you thought was advertised, which ended up not being accurate.