awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
commonmark avatar

commonmark/commonmark-spec

0
View on GitHub↗
5,105 نجوم·354 تفرعات·Python·3 مشاهداتcommonmark.org↗

Commonmark Spec

هذا المشروع عبارة عن معيار مواصفات markdown رسمي يوفر تعريفاً مفصلاً لبناء جملة الترميز ومجموعة نهائية من القواعد لتحليل النص العادي إلى مخرجات HTML متسقة. يضع قواعد نحوية موحدة للكتل الهيكلية والعناصر المضمنة لضمان عرض موحد عبر تطبيقات برمجية مختلفة.

يتم دعم المواصفات من خلال مجموعة مطابقة المحلل وتنفيذ مرجعي في C وJavaScript للتحقق من أن التطبيقات تلتزم بالمعيار. يتضمن نظاماً للتحقق من التنفيذ يقارن سلاسل الإدخال المحولة بمخرجات HTML المتوقعة ويسمح بتصدير بيانات اختبار المواصفات إلى JSON.

يغطي المعيار مجموعة واسعة من إمكانيات هيكلة المحتوى وتنسيقه، بما في ذلك العناوين، والقوائم، واقتباسات الكتل، والخطوط الأفقية. يحدد آليات لتمثيل الكود عبر كتل مسيجة أو مسافة بادئة، وتكامل HTML، ونظام قائم على المرجع لإدارة الروابط التشعبية والصور.

توضح المواصفات أيضاً نموذج تحليل من مرحلتين يستخدم تمثيل شجرة بناء الجملة المجردة وتطبيع النص القائم على Unicode للحفاظ على تسلسل هرمي للمستند يمكن التنبؤ به.

Features

  • Markdown Specification Standards - Establishes the definitive set of rules for parsing plain text into consistent HTML output.
  • Formal Grammar Specifications - Defines the formal technical specifications of the markdown language syntax using algorithmic prose and unambiguous rules.
  • Markdown Parsers - Provides a formal specification and reference logic for engines that interpret markdown syntax.
  • Parser Conformance Testing - Includes a comprehensive conformance suite to validate that markdown parsers adhere strictly to the specification.
  • Markdown to HTML Renderers - Converts parsed markdown into compliant HTML output for consistent visual presentation.
  • Markup Syntax Standardization - Provides a detailed grammar specification to ensure consistent rendering across different platforms.
  • Language Standard Specifications - Serves as the authoritative formal definition of syntax and behavior for the markdown format.
  • Multi-Phase Parsing - Utilizes a two-phase parsing model to decouple structural block identification from inline text formatting.
  • Unicode Normalization - Standardizes input text by expanding tabs and normalizing characters to ensure consistent parsing and rendering.
  • Abstract Syntax Tree Parsing - Implements a structured tree representation to analyze the relationships between document elements during parsing.
  • Document Object Models - Establishes a leaf-and-container hierarchy to organize document layout and structural relationships.
  • Text Input Normalizers - Normalizes input by expanding tabs and replacing insecure Unicode characters to ensure predictable rendering.
  • Syntax Parsing Engines - Provides the engine logic to convert raw text into structured syntax trees or HTML.
  • Markup Rendering Rules - Defines the precise rules for rendering headers, lists, and code blocks to maintain document hierarchy.
  • ATX Headings - Defines document headings from levels 1 through 6 using hash characters at the start of a line.
  • Code Block Embedding - Supports the inclusion of verbatim source code segments using backtick or tilde fences with optional language labels.
  • Reference Link Registries - Implements a reference-based system for managing reusable hyperlinks and images via unique labels.
  • Setext Headings - Defines level 1 or 2 headings by underlining a line of text with equals or hyphen characters.
  • Inline HTML Integration - Identifies inline HTML tags, attributes, and comments to be rendered without escaping.
  • Semantic Line Breaks - Defines rules to determine whether newlines should be rendered as hard breaks or soft wraps in the final output.
  • Parsing Priority Rules - Prioritizes structural block elements over inline formatting to ensure consistent document layout.
  • Reference Implementations - Provides standard-compliant parsers in C and JavaScript as a model for correct implementation.
  • Syntax Escaping - Implements backslash-based escaping to treat punctuation as literal text and prevent it from being parsed as markup.
  • Block Level Parsing Rules - Standardizes the logic for identifying structural block elements like paragraphs and headings.
  • Markup Validation Suites - Includes a parser conformance suite to verify that implementations adhere to the specification.
  • Standard Compliance Certification Testing - Provides an automated verification suite to certify that parser implementations adhere to the formal specification.
  • Implementation Validation Suites - Provides a standardized test suite to verify that parser implementations are compliant with the formal specification.
  • Quote Blocks - Implements block-level elements for citations and excerpts using the greater-than symbol.
  • Inline Code Spans - Provides syntax for wrapping short fragments of literal text in backtick delimiters to prevent formatting.
  • Rich Text Styling - Standardizes the use of asterisks and underscores to create bold and italic text formatting.
  • Thematic Break Elements - Defines structural elements for thematic breaks using sequences of asterisks, underscores, or hyphens.
  • Block HTML Embedding - Recognizes raw HTML tags and comments as block-level elements that bypass standard parsing.
  • Paragraph Elements - Groups sequences of non-blank lines into structural blocks for inline element parsing.
  • Nested Lists - Supports ordered and bulleted lists with hierarchical nesting and variable indentation.
  • General Libraries - C implementation of the CommonMark specification.
  • مكتبات الأغراض العامة - C implementation of the CommonMark specification.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.

سجل النجوم

مخطط تاريخ النجوم لـ commonmark/commonmark-specمخطط تاريخ النجوم لـ commonmark/commonmark-spec

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Commonmark Spec

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Commonmark Spec.
  • jgm/commonmarkالصورة الرمزية لـ jgm

    jgm/CommonMark

    5,106عرض على GitHub↗

    CommonMark is a formal standard specification for Markdown, providing a reference implementation and a set of rules to ensure consistent text rendering across different platforms. It consists of a Markdown parser implementation and a system for generating formal syntax documentation. The project includes a comprehensive conformance test suite with over five hundred embedded examples to verify that other Markdown implementations adhere to the specification. It provides tools to export these test cases in JSON format for use in external verification processes. The system covers document format

    Python
    عرض على GitHub↗5,106
  • whatwg/htmlالصورة الرمزية لـ whatwg

    whatwg/html

    9,163عرض على GitHub↗

    This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.

    HTMLcanvaseventsourcehtml
    عرض على GitHub↗9,163
  • commonmark/commonmark.jsالصورة الرمزية لـ commonmark

    commonmark/commonmark.js

    1,559عرض على GitHub↗

    Commonmark.js is a library designed to parse and render text formatted according to the CommonMark specification. It functions as a document processing pipeline that converts plain text into structured HTML or an abstract syntax tree, enabling developers to programmatically inspect, modify, and transform document elements. The library distinguishes itself through its strict adherence to standardized parsing rules, ensuring consistent and predictable output across different software environments. It provides a robust framework for document tree manipulation, allowing users to traverse, insert,

    JavaScript
    عرض على GitHub↗1,559
  • lunet-io/markdigالصورة الرمزية لـ lunet-io

    lunet-io/markdig

    5,257عرض على GitHub↗

    Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other target formats. It is a CommonMark compliant parser and extensible engine that can transform Markdown into a searchable and manipulatable abstract syntax tree. The library provides a framework for adding custom syntax and rendering logic through a modular pipeline of parsers and renderers. It supports native ahead-of-time compilation and trimming to minimize binary size. Capabilities include the generation of structured HTML with custom attributes and styling, the extraction

    C#
    عرض على GitHub↗5,257
عرض جميع البدائل الـ 30 لـ Commonmark Spec→

الأسئلة الشائعة

ما هي وظيفة commonmark/commonmark-spec؟

هذا المشروع عبارة عن معيار مواصفات markdown رسمي يوفر تعريفاً مفصلاً لبناء جملة الترميز ومجموعة نهائية من القواعد لتحليل النص العادي إلى مخرجات HTML متسقة. يضع قواعد نحوية موحدة للكتل الهيكلية والعناصر المضمنة لضمان عرض موحد عبر تطبيقات برمجية مختلفة.

ما هي الميزات الرئيسية لـ commonmark/commonmark-spec؟

الميزات الرئيسية لـ commonmark/commonmark-spec هي: Markdown Specification Standards, Formal Grammar Specifications, Markdown Parsers, Parser Conformance Testing, Markdown to HTML Renderers, Markup Syntax Standardization, Language Standard Specifications, Multi-Phase Parsing.

ما هي البدائل مفتوحة المصدر لـ commonmark/commonmark-spec؟

تشمل البدائل مفتوحة المصدر لـ commonmark/commonmark-spec: jgm/commonmark — CommonMark is a formal standard specification for Markdown, providing a reference implementation and a set of rules to… whatwg/html — This repository contains the HTML specification, which defines the core standards for web page structuring, content… commonmark/commonmark.js — Commonmark.js is a library designed to parse and render text formatted according to the CommonMark specification. It… lunet-io/markdig — Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other… xoofx/markdig — Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a… cloudwu/pbc — A protocol buffers library for C.