Files
Charon/.github/instructions/markdown.instructions.md
akanealw eec8c28fb3
Some checks are pending
Go Benchmark / Performance Regression Check (push) Waiting to run
Cerberus Integration / Cerberus Security Stack Integration (push) Waiting to run
Upload Coverage to Codecov / Backend Codecov Upload (push) Waiting to run
Upload Coverage to Codecov / Frontend Codecov Upload (push) Waiting to run
CodeQL - Analyze / CodeQL analysis (go) (push) Waiting to run
CodeQL - Analyze / CodeQL analysis (javascript-typescript) (push) Waiting to run
CrowdSec Integration / CrowdSec Bouncer Integration (push) Waiting to run
Docker Build, Publish & Test / build-and-push (push) Waiting to run
Docker Build, Publish & Test / Security Scan PR Image (push) Blocked by required conditions
Quality Checks / Auth Route Protection Contract (push) Waiting to run
Quality Checks / Codecov Trigger/Comment Parity Guard (push) Waiting to run
Quality Checks / Backend (Go) (push) Waiting to run
Quality Checks / Frontend (React) (push) Waiting to run
Rate Limit integration / Rate Limiting Integration (push) Waiting to run
Security Scan (PR) / Trivy Binary Scan (push) Waiting to run
Supply Chain Verification (PR) / Verify Supply Chain (push) Waiting to run
WAF integration / Coraza WAF Integration (push) Waiting to run
changed perms
2026-04-22 18:19:14 +00:00

3.0 KiB
Executable File

description, applyTo
description applyTo
Documentation and content creation standards **/*.md

Markdown Content Rules

The following markdown content rules are enforced in the validators:

  1. Headings: Use appropriate heading levels (H2, H3, etc.) to structure your content. Do not use an H1 heading, as this will be generated based on the title.
  2. Lists: Use bullet points or numbered lists for lists. Ensure proper indentation and spacing.
  3. Code Blocks: Use fenced code blocks for code snippets. Specify the language for syntax highlighting.
  4. Links: Use proper markdown syntax for links. Ensure that links are valid and accessible.
  5. Images: Use proper markdown syntax for images. Include alt text for accessibility.
  6. Tables: Use markdown tables for tabular data. Ensure proper formatting and alignment.
  7. Line Length: Limit line length to 400 characters for readability.
  8. Whitespace: Use appropriate whitespace to separate sections and improve readability.
  9. Front Matter: Include YAML front matter at the beginning of the file with required metadata fields.

Formatting and Structure

Follow these guidelines for formatting and structuring your markdown content:

  • Headings: Use ## for H2 and ### for H3. Ensure that headings are used in a hierarchical manner. Recommend restructuring if content includes H4, and more strongly recommend for H5.
  • Lists: Use - for bullet points and 1. for numbered lists. Indent nested lists with two spaces.
  • Code Blocks: Use triple backticks () to create fenced code blocks. Specify the language after the opening backticks for syntax highlighting (e.g., csharp).
  • Links: Use [link text](https://example.com) for links. Ensure that the link text is descriptive and the URL is valid.
  • Images: Use ![alt text](image URL) for images. Include a brief description of the image in the alt text.
  • Tables: Use | to create tables. Ensure that columns are properly aligned and headers are included.
  • Line Length: Break lines at 80 characters to improve readability. Use soft line breaks for long paragraphs.
  • Whitespace: Use blank lines to separate sections and improve readability. Avoid excessive whitespace.

Validation Requirements

Ensure compliance with the following validation requirements:

  • Front Matter: Include the following fields in the YAML front matter:

    • post_title: The title of the post.
    • categories: The categories for the post. These categories must be from the list in /categories.txt.
    • tags: The tags for the post.
    • summary: A brief summary of the post. Recommend a summary based on the content when possible.
    • post_date: The publication date of the post.
  • Content Rules: Ensure that the content follows the markdown content rules specified above.

  • Formatting: Ensure that the content is properly formatted and structured according to the guidelines.

  • Validation: Run the validation tools to check for compliance with the rules and guidelines.