New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Understanding the extended Markdown some outliners use #223
Comments
Imported states.opml into Logseq.com v0.3.7 Edit: I just tried re-downloading the above states.opml.md. It did download ok. It's a 815 byte file. Cut&paste as source here. |
OK -- I've reviewed @sabre23t upload.
|
Here's the next test, the OPML source behind the opml.org home page. This is a better test because every headline has a created attribute. Let's see what they do with those. |
All the other head level attributes can be supported as custom attributes in Logseq as below. However, currently Logseq doesn't store dateCreated, dateModified, lastCursor in the MD file. The expansionState is stored in the MD file as per block (headline) attribute collapsed:: true.
|
@sabre23t -- when you say the "can be" supported as custom attributes, what does that mean? Maybe another question I should ask is this -- could you upload an actual file you're working on, without any special prep. I'd like to see what it contains. I may not know what the content is in advance, but hopefully it shouldn't be too hard to discern. |
Imported into Logseq.com v0.3.7 and converted to markdown as |
oy. the created atts are gone! ouch. |
Logseq supports custom attributes with almost any name (other than it's own reserved attribute names like
Attached is my lightly redacted today's journal page |
Yes. Currently Logseq doesn't support block (headline) level created and modified timestamps. It will later, when Logseq use database not just plain text files (MD or ORG). So I understand. Ref Tienson Discord message on 30 Jul 2021. |
@sabre23t -- thanks you've given me lots to think about. The big question is what text is generated by software, and what did you type? I am sure that "collapsed:: true" was software-generated. We call that "collapse" in our world, but it's not generated automatically, it's something that applies to rendered text. Are the timestamps at the beginning of messages machine-generated? I imagine they are. How of this interops with Obsidian, or is this Logseq's language only, or somewhat or ?? |
Almost all the text in that
Yes this is software-generated when you collapse an outline block (headline). But I could also type that block attributes directly.
Generic markdown markups interops with Obsidian. Logseq main extension to Markdown is those attributes |
I understand that some outliners use an extended form of Markdown to save their outlines.
I'm interested in knowing exactly what this format is, because -- if it's easy to support as an export and import format in Drummer, then I want to do it. But first we have to understand what it is.
A good first step would be to do this:
Find an outliner that supports OPML import, whose native file format is Markdown.
Import our states.opml example into this app.
Save/export it as Markdown.
Post it here as a comment.
Why use states.opml? Because we know what's "content" and what's structure in the example. When I get an example where the text is about the format it's an example of, it gets confusing quickly. I know "Montana" and "Chicago" aren't part of the file structure. See how that works?
Everyone but silo-builders wins if our products interop.
The text was updated successfully, but these errors were encountered: