quartz icon indicating copy to clipboard operation
quartz copied to clipboard

Direct Page Editing via GitHub Link for Streamlined Collaboration

Open xy-241 opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. Collaborating on website content is currently cumbersome, as there is no direct way to edit pages and contribute changes easily.

Describe the solution you'd like Add an "Edit" button at the top of each page on the website. This button should link directly to the corresponding GitHub Markdown file for that page. This way, users can seamlessly access and edit the source content on GitHub, fostering a more straightforward collaborative environment.

Describe alternatives you've considered One alternative could be incorporating a general "Edit" button that takes users to the GitHub repository's main page, requiring them to navigate to the specific Markdown file. However, this may be less user-friendly and efficient.

Additional context

  • Example, the edit icon at the top right corner links to the corresponding markdown file on Github. Screenshot 2024-01-19 at 9 55 16 PM

xy-241 avatar Jan 19 '24 14:01 xy-241

Feel free to make this a community plugin for this. I don't think this should lie within Quartz's core offering.

aarnphm avatar Feb 17 '24 13:02 aarnphm

you can modify ContentMeta.tsx . my blog has added commit history, learned from quartz showcase image

CatCodeMe avatar Mar 21 '24 07:03 CatCodeMe

Managed to get it to work, thanks!

Screenshot 2024-03-22 at 6 34 37 PM

xy-241 avatar Mar 22 '24 10:03 xy-241