pages-cms / pages-cms

A user-friendly CMS for GitHub projects
https://pagescms.org
Other
1.45k stars 178 forks source link

More code support #51

Open 0xN1ghtStalker opened 7 months ago

0xN1ghtStalker commented 7 months ago

Hello, I was wondering if there's any way I can help expand the languages usable with code blocks on pages.cms as I really love using it and would like to add support for python, Java, assembly and the c family of languages

hunvreus commented 7 months ago

You mean languages for code blocks within a markdown or HTML field? I was gonna update the editor with a few additional options, including the ability to select languages for code blocks.

0xN1ghtStalker commented 7 months ago

You mean languages for code blocks within a markdown or HTML field? I was gonna update the editor with a few additional options, including the ability to select languages for code blocks.

Yeah I really want to support this project in any way I can so I just wanted to see how you felt about those different options and if there's any way I can contribute other than spreading the word about this

hunvreus commented 7 months ago

I’m pretty sure it’s just a matter of enabling an option in TipTap (the component that wraps around the ProseMirror editor). I may need to a type the select box but that won’t take much time.

What you could start with is test the next release once it’s deployed. Then maybe fix bugs or add small features that have been requested. Feedback on the code base would be helpful to: I’ll likely do a big clean-up for 1.0.0.

0xN1ghtStalker commented 7 months ago

I’m pretty sure it’s just a matter of enabling an option in TipTap (the component that wraps around the ProseMirror editor). I may need to a type the select box but that won’t take much time.

What you could start with is test the next release once it’s deployed. Then maybe fix bugs or add small features that have been requested. Feedback on the code base would be helpful to: I’ll likely do a big clean-up for 1.0.0.

Alright sounds great to me and I'll be on the lookout for the next release.

dopry commented 1 month ago

@0xN1ghtStalker There is a new next.js version out. Check it out and see if there is anything you want to work on.