Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New post type: snippets #228

Open
drodil opened this issue Oct 30, 2024 · 0 comments
Open

New post type: snippets #228

drodil opened this issue Oct 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@drodil
Copy link
Owner

drodil commented Oct 30, 2024

Create a new post type called snippets that can be used to share code blocks. This requires a possibility to select language of the snippet and should automatically prefix content as ```language and suffix with ending marks. Rules:

  • Language must be selected from dropdown list
  • No code blocks inside the content
  • No attachments
  • No answers
  • Comments are ok
  • Rendering should be done in some good way in the UI
@drodil drodil added the enhancement New feature or request label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant