marc0l92 / obsidian-jira-issue

This plugin allows you to track the progress of Atlassian Jira issues from your Obsidian notes.
https://marc0l92.github.io/obsidian-jira-issue/
GNU Affero General Public License v3.0
225 stars 35 forks source link

[Feature] Support exporting/copying #57

Open asteele0 opened 1 year ago

asteele0 commented 1 year ago

When copying the resulting output to something like Outlook, the format isn't preserved properly at all: image

Versus what it (properly) looks like in Obsidian: image

Describe the solution you'd like I'd like to be able to copy & paste, or export, the note file and have the nice formatting of the tickets be present.

Describe alternatives you've considered If copy & pasting isn't possible, having it render correctly just on export would also work.
Or, minimally, have it copy with readable text format, perhaps something like

[D] SQA-9486 | Update GUI caution icons with higher resolution ones | Open

marc0l92 commented 1 year ago

Really interesting use case. I have no experience in this field, I will take a look.

Please, let me know if there is any other plugin in Obsidian that allows something similar. It will be interesting to check how they handle this.

asteele0 commented 1 year ago

I was reading over the community plugins list, and I found this one that seems like it would be relevant: https://github.com/jenningsb2/copy-as-html

I also found this one that has to do with exporting: https://github.com/mokeyish/obsidian-enhancing-export

cazador481 commented 10 months ago

For copying, if you put obsidian into "reading" mode, it'll copy properly. When you paste you have to paste into a program that supports pasting with formating, such as outlook or word.

asteele0 commented 10 months ago

@cazador481 how are you doing it, because it still isn't working for me. Here's how it looks in Obsidian in Reading mode: image

Then when I paste into Outlook: image

Arguably the background colors are fine, since I don't think there's any way to support the rounded corners. On the other hand, there aren't any spaces between the sections, and the text size is different from the non-jira part.

cazador481 commented 10 months ago

I went back and looked closer at my output, and I do end up seeing the same issues as what you have.