Currently, the option allows you to create a MD or a RTF, and only exports text annotations.
Add a third option to generate a PDF (or a Formatted Note), exporting annotations and scribbles. The new PDF will contain all the text annotations as it has now, but will export the page with scribbles as well. Or even better, export each full page with the annotation as well, saving the annotation as original. The new generated PDF will contain only the pages with any added content and perhaps a link to the original PDF page.
I would also like to be able to export not only text annotations but possibly any scribbles on the PDF page as well. Is it possible to enhance the script that is used to summarize PDFs in Devonthink, or to use something along the lines of below linked GitHub repos to be able to extract scribbles as well?
is there any chance to change to style of the exported markdown file?
I found this summary of my pdf highlights quite useful, but until today thought about, why the highlighted text from the pdf is also highlighted in markdown (with {== ==}) a lot. Besides highlights only notes could be extracted. So my markdown files are nearly 90 % highlight and 10 % plain. Did I miss something and did not see the main reason why the highlight syntax is useful?
The most other tools which exports highlights uses the blockquote syntax â>â to show it is from another source. This gives me the option to highlight the text again if I want to work further with my markdown file and I find it useful.
I thought about creating an Apple Script to get this blockquote syntax in the exported markdown files with replacing the original highlight syntax, but after some hours of ready through Apple Scripts website it seems to be not so easy as I thought.
Do you see any chance to give the user the option to choose between highlight or blockquote in the near future?
This is JavaScript and should work, though I canât test it right now, because Iâm away from my DT installation. It takes the currently selected records (which should be MD files, but this is not checked!) and replaces all text between the highlight markers by a blockquote (see the replaceAll call) fenced by two newlines.
Beware This changes your MD file, and thereâs no undo for it. So please test it thoroughly on copies of your files before you run it in production. As always: no warranty.
Hereâs a script @BLUEFROG made and shared that removes this highlight syntax. I donât like the highlight syntax and wish it wasnât added. New users of the app Iâve talked to either donât like itâit especially makes it harder to dump text into Obsidian, where this highlighting is annoying as well. And sharing this script and smart rule is a big hurdle for newbie users who shouldnât have to worry about that.
Open Script editor with a ânewâ script and select âJavaScriptâ in its upper left corner.
Copy/paste the script into it.
Then duplicate one or several markdown records in DT, preferably into their own group.
Select these duplicates and then click the right pointing triangle in Script Editor to run the script.
If that does what you expect, you can copy the script to DTâs script folder (that should be explained in the online help unter the heading automation).
You can not use this script in a smart rule due to current limitations in DT which are announced to be lifted in the future.
Just wanted to chime in and say that I also find the current approach of highlighting the extracted highlighted text to be unhelpful, and would appreciate a way to turn it off. When I do use the Tools â Summarize Highlights â as Markdown feature, I invariably remove all the {== and ==} markup from the text it produces.
My workflow contains underlining, bolding and highlighting. But it starts after I exported my highlights from the pdf.
I would propose:
Summarizing highlights from PDF (and maybe webarchive in the future?) to Markdown results in a quote with the > as the syntax.
As mentioned in the blog article about DT 3.7 from April 2021 the highlighting syntax is adjusted from {== ==} to == == and therefore matches the mentioned tools Obsidian and iA Writer. Even the beta editor from Bear switched from :: to ==.
The problem with that is that it breaks CriticMarkup highlighting (which is where {== ==} comes from).
DT3 allows previewing CriticMarkup (with a suitable CSS) and it would be a big step backwards to remove a useful internal feature simply because some external editor doesnât have that capability, I think.
I think some users have already asked for Obsidian to adopt CriticMarkup, so perhaps it would be good to support that request? Otherwise, if any changes are made in DT3, please donât let them be at the expense of this useful feature!
That is incorrect. We didnât adjust the highlighting syntax from one to the other. We allow use of the alternate syntax without the braces but the CriticMarkup syntax is still in place.