NO PRODUCT SETTINGS FOUND FOR:
documentation

Gentle remainder that the product name comes from the `origin` first subfolder (after `/pms` ).

⚡ Fragments Quick Reference

Quick lookup for all fragment types in the PM system.

📝 Text Fragments

FragmentMarkdownDescription
h1_# TitleMain heading
h2_## SectionSection heading (Roman numerals)
h3_### SubsectionSubsection (letters)
h4_#### Sub-subsectionSub-subsection (numbers)
p_Plain textRegular paragraph
q_> QuoteBlockquote
hr_---Horizontal divider
toc_[TOC]Table of contents

📋 List Fragments

FragmentMarkdownDescription
ul_- ItemUnordered list
ol_1. ItemOrdered list
lbl_- Item
{: .lbl}
Labeled list

🎯 Interactive Fragments

FragmentMarkdownDescription
radio_- Option{:20}
- Wrong{:21}
{: .i-radio}
Multiple choice
maths_\``yaml<br>mathPCAVersion: 1<br>````Math input field
graph_\``yaml<br>graphPCAVersion: 1<br>````Interactive graph
codex_\``yaml<br>codexPCAVersion: 1<br>````Executable code
number_\``yaml<br>NumberInputPCA: v0.0.1<br>type: number<br>label: "..."<br>min: 0<br>max: 100<br>step: 0.5<br>unit: "cm"<br>correct: 7.5<br>tolerance: 0.1<br>````Numeric input with tolerance

🖼️ Media Fragments

FragmentMarkdownDescription
image_![Alt](/path.jpg)Static image
svg_![Alt](/path.svg)SVG graphic

📊 Data Fragments

FragmentMarkdownDescription
table_\| A \| B \|
\|---\|---\|
Data table
tabvar_\``yaml<br>class: table-variations<br>````Variation table
code_\``language<br>code<br>````Code block

🎨 Styling with Attributes

Add CSS classes to most fragments:

Text with custom styling.
{: .class1 .class2}

Common Classes

ClassEffect
.leadEmphasized intro text
.bg-primaryPrimary background
.bg-secondarySecondary background
.bg-whiteWhite background
.text-centerCenter text
.font-boldBold text
.mx-autoCenter horizontally
.max-w-[size]Maximum width
.nmNo margin

🔧 Fragment Data Structure

Fragment = {
    "f_type": FType,        # Enum value
    "html": str,            # Rendered content
    "data": dict,           # Type-specific data
    "class_list": list,     # CSS classes
    "classes": str,         # Computed from class_list
}

🚀 Quick Examples

Radio Question

What is 2+2?

- 3{:21}
- 4{:20}
- 5{:21}
{: .i-radio}

Code Block

```python
def hello():
    print("Hello!")
```

Math Input

Interactive Graph

Styled Paragraph

Important information here.
{: .lead .bg-primary}

Table

| Name | Score |
|------|-------|
| Alice | 95 |
| Bob | 87 |

Image with Styling

![Description](/image.jpg)
{: .mx-auto .max-w-lg}

🎮 Interactive Fragment Flags

Radio Button Flags

  • {:20} - ✅ Correct answer
  • {:21} - ❌ Wrong answer
  • {:-1} or none - 💬 Comment

📁 File Structure

pms/
├── documentation/      # Guides and references
├── examples/          # Example PMs
├── corsica/          # Corsica project
│   └── files/        # Assets (SVG, images)
└── pyly/             # Python lessons
    └── files/        # Code examples

💡 Tips

    1. Start simple - Use basic text fragments first
    2. Add interactivity - Enhance with radio/math questions
    3. Include visuals - Break up text with images/code
    4. Test rendering - Preview your markdown
    5. Validate structure - Check fragment validation
    6. Use attributes - Style with CSS classes
    7. Combine fragments - Create rich content

This quick reference covers all fragment types. See individual guides for detailed documentation.

Maths.pm ne collecte aucune donnée.
Aucun cookie collecté, aucune ligne de log d'écrite, pas l'ombre d'une base de données distante - nihil omnino.
Toutes les exécutions de code se font localement. Nous expliquons notre démarche sur cette page.

Limites de confidentialité (impact de l'hébergeur)
Aspects technologiques
Chez Pointcarre.app, nous nous engageons en faveur des communs numériques.

Ressources pédagogiques
Logiciels Libres & Infrastructure 🇫🇷

Codes sources
Logo licence AGPLv3
Contenus
Logo licence Creative Commons

Maths.pm, par

pointcarre.app