Purpose

This section contains step-by-step tutorials to help you learn Ceradoc through hands-on examples. Each tutorial builds on previous concepts and includes runnable code.

Overview

Tutorials are organized by skill level and topic:

Tutorial Structure

Each tutorial follows this structure:

  • Purpose - What you’ll learn

  • Prerequisites - What you should know first

  • Examples - Step-by-step runnable code

  • Exercises - Practice what you learned

  • Next Steps - What to learn next

Learning Path

We recommend this order for learning Ceradoc:

  1. Basic Parsing - Start here if you’re new

  2. Document Modeling - Understand the model

  3. Serialization - Generate AsciiDoc output

  4. Round-tripping - Learn about preservation

  5. HTML Conversion - Advanced conversion

Example Code

All code examples in tutorials are runnable. You can execute them by:

# Save to a file (e.g., tutorial.rb)
# Then run with: ruby tutorial.rb

require 'ceradoc'

# Paste the example code here

This site uses Just the Docs, a documentation theme for Jekyll.