Skip to content

Implement Markdown Callouts for Enhanced Documentation Clarity #29032

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

Closed
miztizm opened this issue Feb 3, 2024 · 3 comments
Closed

Implement Markdown Callouts for Enhanced Documentation Clarity #29032

miztizm opened this issue Feb 3, 2024 · 3 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@miztizm
Copy link

miztizm commented Feb 3, 2024

Feature Description

I propose the implementation of Markdown callouts in Gitea to enhance the clarity and effectiveness of documentation, issue discussions, and markdown files within repositories. Callouts, such as notes, tips, warnings, and cautions, are crucial for emphasizing important information, guiding users successfully through documentation, and ensuring critical warnings are not overlooked.

Markdown callouts would allow users to highlight various types of information distinctly, making it easier for readers to find and heed advice, warnings, and tips. The proposed syntax follows an intuitive format, leveraging Markdown's extensibility to include custom identifiers for different callout types:

  • Note (!NOTE): Highlights information that users should take into account, even when skimming.
  • Tip (!TIP): Provides optional information to help users be more successful.
  • Important (!IMPORTANT): Marks crucial information necessary for users to succeed.
  • Warning (!WARNING): Signals critical content that demands immediate attention due to potential risks.
  • Caution (!CAUTION): Indicates negative potential consequences of an action.

Note

This is a note.

Tip

This is a tip.

Important

This is an important note.

Warning

This is a warning.

Caution

This is a caution.`

Benefits

  • Enhanced Documentation Quality: By making it easier to create visually distinct, categorized informational blocks, we can improve the overall quality and user-friendliness of documentation in Gitea.
  • Increased User Success: Callouts can guide users more effectively through complex documentation, increasing their success and reducing frustration.
  • Improved Safety and Awareness: Clearly marked warnings and cautions can prevent users from making mistakes that could have serious consequences.

Screenshots

No response

@miztizm miztizm added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Feb 3, 2024
@yardenshoham
Copy link
Member

Duplicate of #28316

@yardenshoham yardenshoham marked this as a duplicate of #28316 Feb 3, 2024
@lunny lunny closed this as completed Feb 4, 2024
@yardenshoham
Copy link
Member

It's ready. It will be part of version 1.22.0

Copy link

Automatically locked because of our CONTRIBUTING guidelines

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

3 participants