jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Add markdown as copy format

Open koppor opened this issue 10 months ago • 12 comments

Background

Maintable

The current context menu of a main table entry contains two copy preview options:

Image

Preview Area

The context menu of the preview only offers copying HTML:

Image

Task

  1. Add "Copy citation (Markdown) as context menu entry to main table context menu
  2. Add "Copy citation (Markdown) as context menu entry to preview panel
  3. Add CSL.setConvertLinks() to CSL configuration (stated at https://github.com/michel-kraemer/citeproc-java/issues/252#issuecomment-2511285869)

Note

  • This task is related to https://github.com/JabRef/jabref/issues/12551. It can be done before or after the other task. If done in parallel, there will be some merge conflicts (but propbaly not too large)
  • This is a follow-up to https://github.com/JabRef/jabref/pull/12220

koppor avatar Feb 23 '25 22:02 koppor

/assign-me

sam571128 avatar Feb 27 '25 21:02 sam571128

👋 Hey @sam571128, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.

In case you encounter failing tests during development, please check our developer FAQs!

Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.

Happy coding! 🚀

⏳ Please note, you will be automatically unassigned if the issue isn't closed within 45 days (by 13 April 2025). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment.

github-actions[bot] avatar Feb 27 '25 21:02 github-actions[bot]

📋 Assignment Update

Hi @sam571128, you are no longer assigned to this issue.

Next steps

If you still want to work on this:

  • Comment with /assign-me to request reassignment
  • Ask a maintainer to assign you again
  • If you're making progress, a maintainer can add the pin label to prevent future automatic unassignment

github-actions[bot] avatar Mar 17 '25 12:03 github-actions[bot]

/assign-me

Paras-Gupta16 avatar Mar 19 '25 04:03 Paras-Gupta16

👋 Hey @Paras-Gupta16, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.

In case you encounter failing tests during development, please check our developer FAQs!

Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.

Happy coding! 🚀

⏳ Please note, you will be automatically unassigned if there is not a (draft) pull request within 14 days (by 02 April 2025).

github-actions[bot] avatar Mar 19 '25 04:03 github-actions[bot]

⏰ Assignment Reminder

Hi @Paras-Gupta16, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 11 days if there's no activity.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft PR with your progress
  • Asking for the 📌 Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar Apr 01 '25 13:04 github-actions[bot]

📋 Assignment Update

Hi @Paras-Gupta16, due to inactivity, you have been unassigned from this issue.

Next steps


If you still want to work on this:

  • Submit a pull request showing your current state. You will be automatically assigned again.
  • Ask a maintainer to assign you again.

github-actions[bot] avatar Apr 23 '25 12:04 github-actions[bot]

/assign-me

RiddheshRajwadkar avatar Apr 25 '25 13:04 RiddheshRajwadkar

👋 Hey @RiddheshRajwadkar, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.

In case you encounter failing tests during development, please check our developer FAQs!

Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.

Happy coding! 🚀

github-actions[bot] avatar Apr 25 '25 13:04 github-actions[bot]

⏰ Assignment Reminder

Hi @RiddheshRajwadkar, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 11 days if there's no activity.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft PR with your progress
  • Asking for the 📌 Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar May 08 '25 12:05 github-actions[bot]

/unassign-me

RiddheshRajwadkar avatar May 20 '25 06:05 RiddheshRajwadkar

📋 Assignment Update

Hi @RiddheshRajwadkar, you are no longer assigned to this issue.

Next steps

If you still want to work on this:

  • Comment with /assign-me to request reassignment
  • Ask a maintainer to assign you again
  • If you're making progress, a maintainer can add the 📌 Pinned label to prevent future automatic unassignment

github-actions[bot] avatar May 20 '25 06:05 github-actions[bot]

/assign-me

tushar-2320 avatar Jun 20 '25 04:06 tushar-2320

👋 Hey @tushar-2320, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.

For questions on JabRef functionality and the code base, you can consult the JabRef Guru or ask on our Gitter chat.

In case you encounter failing tests during development, please check our developer FAQs!

Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.

Happy coding! 🚀

github-actions[bot] avatar Jun 20 '25 04:06 github-actions[bot]

@koppor CSL output format markdown won't work with our custom preview styles. A better idea would be probably to use the Flexmark converter on the html output https://github.com/vsch/flexmark-java/wiki/Extensions#html-to-markdown

Siedlerchr avatar Jun 22 '25 14:06 Siedlerchr

@koppor CSL output format markdown won't work with our custom preview styles. A better idea would be probably to use the Flexmark converter on the html output https://github.com/vsch/flexmark-java/wiki/Extensions#html-to-markdown

Then, its a Switch: if custom preview: flexmark; else csl markdown. Reason: The CSL guys should know better than us.

koppor avatar Jun 22 '25 16:06 koppor

We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/13387.

github-actions[bot] avatar Aug 01 '25 09:08 github-actions[bot]