Hello!
In my opinion, it would be nice if I could use a README.md file as a preview of the group where the README.md is contained.
Is there a similar function in DTP?
Thank you all
Hello!
In my opinion, it would be nice if I could use a README.md file as a preview of the group where the README.md is contained.
Is there a similar function in DTP?
Thank you all
You can assign a script to a group that will run when you select the group.
I experimented for a while with a transclusion script that created a single document from all the Markdown files in the group.
Is that something like what you’re looking for? Select the group and see a concatenation of everything in the group?
Unfortunately, I can’t find that script at the moment.
You can set the desired document as annotation of the group. The annotation file can be opened with keyboard shortcut ⌃⌥⌘O .
If you want to use an existing markdown document as annotation, AppleScript will help: set annotation of theGroup to theMarkdownRecord
Thank you for your reply.
What I want to do is to see certain markdown file in the preview window when I click the group.
I want to summarize the group in the file by myself and see when I select the group.
Is it not the same as the annotation in the inspector window right?
Can you tell me more details, please?
Thank you!
You can add an annotation to any document, group, or tag in Devonthink, so that would be a way to add a summarization.
If you have the Annotations & Reminders inspector open you can open the attachment in its own window with control-option-command-O. That lets you view or edit an annotation in as large a window as you want.
Annotations are cool.
If you want opening the group to show a README.md file, or something like that, I believe you could do that with a script attached to the group.
There’s no need for a script.
Nice!!!
And just to clarify for any passers-by: The 50 - Table of Contents.rtf document in the illustration is not automatically updating its content with changes to the 50 group. It is just a document that can be edited as needed, functioning as the annotation file for a group.