Open LorenRiccie opened 10 months ago
Yes, you can create a new pen like this:
(org-remark-create "strike-through"
'(:strike-through t))
It will create a new command named org-remark-mark-strike-through
.
Refer to this section of the user manual.
In this part of the introductory video, I also show and walk you through a little more detail: 03:05 Recap - create a custom pen with CATEGORY.
Thank you!
I wonder if the marginalia org file could reproduce the pen properties (color). With org-remark-mark-strike-through, the text in the marginalia org file being striked.
Do you mean something like this? See if this works for you.
org-remark-create "strike-through"
'(:strike-through "red"))
"red" can be a hex color value: "#112233".
I suggest you refer to this part of Elisp manual https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html
If you want to change the colour of the text being striked through (instead of the line) try :foreground
.
Thanks. I meant in the data .org file keeping the highlights and notes. If I striked something in the main document it will make sense to have the text striked there too.
Can you give me an example, please?
I tend to have multiple paragraphs in my marginal notes. If i strike-through the highlight in the main file, it does not make sense to reflect it in the marginal notes to me.
For example, I may have a paragraph in the main document that contains "romanesque architecture" and I highlight it.
I then write some research notes and quotations from Wikipedia, for example.
If I strike through "romanesque architecture" in the main file for some reason, I do not want to change anything of my marginal notes.
Is it be possible to customize org-remark-mark command to add a strikethrough feature ?