Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Introligo Documentation
Logo
Introligo Documentation

Documentation:

  • ℹ️ About
    • πŸ“„ License
    • πŸ“‹ Changelog
    • 🀝 Contributing
    • πŸ“š Resources
  • 🌐 Language Support
    • Language Support Overview
    • Python Language Support
    • C/C++ Language Support
    • Go Language Support
    • LaTeX & Mathematical Formulas
    • Java Language Support
    • Rust Language Support
  • πŸ“– User Guide
    • πŸš€ Basic Usage Examples
    • πŸ”§ Sphinx Integration
    • πŸ“ Markdown Includes
      • πŸ“š Basic Usage
      • 🎯 Best Practices
      • πŸ’Ό Use Cases
      • πŸ”§ Troubleshooting
      • πŸ”— Link Conversion
      • πŸ’‘ Link Examples
      • πŸ–ΌοΈ Working with Images
    • πŸ“˜ Sphinx Configuration Tutorial
      • 1️⃣ Introduction
      • 2️⃣ Configuration
      • 3️⃣ Themes and Colors
      • 4️⃣ Advanced Features
    • 🎨 Theme Motifs
    • 🐳 Development Containers
      • 1️⃣ Running Code in Devcontainer
      • 2️⃣ Setting Up Devcontainer
  • πŸ“š Examples
    • 🌟 Generic Usage
      • πŸ” Hub Mode Example
      • πŸ“¦ Hub Project Demo
  • πŸ”§ API Reference
    • Main Module
  • πŸš€ Getting Started
    • πŸ“¦ Installation
    • ⚑ Quick Start
    • πŸ“– Complete Getting Started Guide
    • πŸ—οΈ Hub Architecture
Back to top
View this page

πŸ”— Link ConversionΒΆ

Automatic markdown to RST link conversion

For additional examples, refer to the Link Examples β†’ page. Also consult Best Practices β†’ (Markdown Format) for recommendations.

Supported Link TypesΒΆ

External LinksΒΆ

External URLs are converted to RST inline links:

Markdown:

Check the [Python documentation](https://docs.python.org/3/) for details.
Visit our [GitHub repository](https://github.com/example/project).

Converted to RST:

Check the `Python documentation <https://docs.python.org/3/>`_ for details.
Visit our `GitHub repository <https://github.com/example/project>`_.

Internal Document LinksΒΆ

Links to other markdown files are converted to Sphinx :doc: references:

Markdown:

See the [installation guide](./install.md) for setup instructions.
Check out the [configuration docs](./config.md).

Converted to RST:

See the :doc:`installation guide <install>` for setup instructions.
Check out the :doc:`configuration docs <config>`.

Links with Section AnchorsΒΆ

Links with section anchors automatically append the section name to the link text:

Markdown:

Follow the [setup instructions](./install.md#prerequisites).
See [configuration options](./config.md#advanced-settings).

Converted to RST:

Follow the :doc:`setup instructions (Prerequisites) <install>`.
See :doc:`configuration options (Advanced Settings) <config>`.

Conversion behavior: - Anchor #prerequisites becomes (Prerequisites) - Anchor #advanced-settings becomes (Advanced Settings) - The section name is automatically appended to improve link clarity

Same-Page AnchorsΒΆ

Anchor links within the same page:

Markdown:

Jump to the [installation](#installation) section.
See [configuration](#configuration) below.

Converted to RST:

Jump to the :ref:`installation` section.
See :ref:`configuration` below.

ImagesΒΆ

Images are converted to RST image directives:

Markdown:

![System Architecture](./diagrams/architecture.png)
![Project Logo](./images/logo.svg)

Converted to RST:

.. image:: ./diagrams/architecture.png
   :alt: System Architecture

.. image:: ./images/logo.svg
   :alt: Project Logo

TablesΒΆ

Markdown tables are automatically converted to RST list-table directives:

Markdown:

| Feature | Supported | Notes |
|---------|-----------|-------|
| Links | Yes | All types |
| Images | Yes | With alt text |
| Tables | Yes | List-table format |

Converted to RST:

.. list-table::
   :header-rows: 1
   :widths: auto

   * - Feature
     - Supported
     - Notes
   * - Links
     - Yes
     - All types
   * - Images
     - Yes
     - With alt text
   * - Tables
     - Yes
     - List-table format

Example: Refer to the conversion-summary-table below for additional examples.

Checklists (Task Lists)ΒΆ

Markdown checklists are automatically converted to interactive HTML checkboxes:

Markdown syntax:

- [ ] Unchecked task item
- [x] Completed task item
- [ ] Another pending task

Converted to RST:

.. raw:: html

   <ul style="list-style-type: none;">
   <li><input type="checkbox"> Unchecked task item</li>
   <li><input type="checkbox" checked> Completed task item</li>
   <li><input type="checkbox"> Another pending task</li>
   </ul>

Rendered output:

This produces actual interactive checkboxes in the HTML output:

  • Unchecked task example
  • Completed task example

Quick Example with Real LinksΒΆ

Input Markdown FileΒΆ

# User Guide

## Resources

- [Sphinx Documentation](https://www.sphinx-doc.org/)
- [Python Docs](https://docs.python.org/3/)
- [Introligo on GitHub](https://github.com/jakubbrzezo/introligo)

## Getting Started

Follow these steps:
1. Read [Basic Usage](./basic_usage.md) first
2. Review [Best Practices](./best_practices.md#markdown-format)
3. Check [Use Cases](./use_cases.md) for examples
4. See [Troubleshooting](./troubleshooting.md#common-issues) if needed

Jump to [Conversion Table](#conversion-summary-table) for reference.

## Link Types Comparison

| Type | Example | Works |
|------|---------|-------|
| External | [Sphinx](https://www.sphinx-doc.org/) | Yes |
| Internal | [Use Cases](./use_cases.md) | Yes |
| Anchor | [Troubleshooting](./troubleshooting.md#common) | Yes |

See the [Related Documentation](#related-documentation) section below.

Generated RSTΒΆ

User Guide
==========


Resources
---------

- `Sphinx Documentation <https://www.sphinx-doc.org/>`_
- `Python Docs <https://docs.python.org/3/>`_
- `Introligo on GitHub <https://github.com/jakubbrzezo/introligo>`_


Getting Started
---------------

Follow these steps:
1. Read :doc:`Basic Usage <basic_usage>` first
2. Review :doc:`Best Practices (Markdown Format) <best_practices>`
3. Check :doc:`Use Cases <use_cases>` for examples
4. See :doc:`Troubleshooting (Common Issues) <troubleshooting>` if needed

Jump to :ref:`conversion-summary-table` for reference.


Link Types Comparison
---------------------

.. list-table::
   :header-rows: 1
   :widths: auto

   * - Type
     - Example
     - Works
   * - External
     - `Sphinx <https://www.sphinx-doc.org/>`_
     - Yes
   * - Internal
     - :doc:`Use Cases <use_cases>`
     - Yes
   * - Anchor
     - :doc:`Troubleshooting (Common) <troubleshooting>`
     - Yes

See the :ref:`related-documentation` section below.

Note: All links are automatically converted, including those within tables.

Key FeaturesΒΆ

  • Automatic conversion: No manual RST writing required

  • Section detection: Anchor names automatically appended to link text

  • All link types: External, internal, anchors, images, tables, and checklists supported

  • Zero configuration: Automatic operation with markdown includes

  • Clean output: Proper RST syntax for Sphinx

  • Live demonstration: This page utilizes functional working links

Code Blocks PreservationΒΆ

Links inside code blocks are NOT converted. When markdown links appear within fenced code blocks, they remain as literal text and are not converted to RST link syntax.

Example markdown input:

# This [link](https://example.com) stays unchanged
url = "https://example.com"

RST output:

The code block and its contents, including the markdown link syntax, are preserved exactly as written without any conversion to RST link format.

Best PracticesΒΆ

Use Section Anchors for Cross-Document LinksΒΆ

Recommended:

See the [installation guide](./install.md#prerequisites).

Rationale: The section name appears in the link text, providing clear context about the link destination.

Write Descriptive Link TextΒΆ

Recommended:

Follow the [Docker installation instructions](https://docs.docker.com/get-docker/).

Not recommended:

Click [here](https://docs.docker.com/get-docker/) to install Docker.

Add Alt Text to ImagesΒΆ

![System architecture showing three main components](./architecture.png)

Alt text improves accessibility and SEO.

Common PatternsΒΆ

Documentation Navigation MenuΒΆ

## Documentation

### Guides
- [Getting Started](./getting_started.md)
- [Installation](./install.md#quick-install)
- [Configuration](./config.md#basic-setup)

### Reference
- [API Documentation](./api.md)
- [CLI Reference](./cli.md)

### External Resources
- [Project Website](https://example.com/)
- [Community Forum](https://forum.example.com/)

Cross-Reference PatternΒΆ

## Installation

Before installing, ensure you meet the [system requirements](./requirements.md#minimum-specs).

Follow the [quick start guide](./quickstart.md#installation-steps) to install.

After installation, proceed to [configuration](./config.md#basic-setup).

Image GalleryΒΆ

## Screenshots

![Main Interface](./screenshots/main.png)

The main interface provides access to all features.

![Settings Panel](./screenshots/settings.png)

Configure application settings here.

LimitationsΒΆ

Internal Links Without AnchorsΒΆ

Internal markdown file links may generate Sphinx warnings if the filename does not match the generated RST filename.

Example: - Markdown: setup.md - Generated: 1_setup_guide.rst (due to title slugification)

Workaround: Always include section anchors in cross-document links:

[Setup Guide](./setup.md#installation)

This approach improves link informativeness and ensures reliable functionality.

Conversion Summary TableΒΆ

This table demonstrates all conversion types (using a markdown table that itself gets converted):

Link Type

Markdown Example

Converted RST

Status

External

[Python Docs](https://docs.python.org/)

`` Python Docs ``

Full support

External + anchor

[Install](https://docs.docker.com#install)

`` Install ``

Full support

Document

[Use Cases](./use_cases.md)

:doc:`Use Cases <use_cases>`

Limited

Document + anchor

[Troubleshooting](./troubleshooting.md#common)

:doc:…(Common) <troubleshooting>``

Full support

Same-page

[Summary](#summary)

:ref:`summary`

Full support

Image

![Logo](./logo.png)

.. image:: ./logo.png

Full support

Table

Markdown table

.. list-table::

Full support

Checklist

- [ ] Task

- [ ] Task (as text)

Full support

Recommendation: Use links with section anchors for optimal results.

Related DocumentationΒΆ

  • Basic Usage β†’ - Learn markdown inclusion basics

  • Best Practices β†’ (Markdown Format) - Tips for using markdown

  • Use Cases β†’ - When to use markdown includes

  • Troubleshooting β†’ - Common issues and solutions

External resources: - reStructuredText Primer - Sphinx Documentation - Markdown Guide

Next
πŸ’‘ Link Examples
Previous
πŸ”§ Troubleshooting
Copyright © 2025, WT Tech Jakub Brzezowski
Made with Sphinx and @pradyunsg's Furo
On this page
  • πŸ”— Link Conversion
    • Supported Link Types
      • External Links
      • Internal Document Links
      • Links with Section Anchors
      • Same-Page Anchors
      • Images
      • Tables
      • Checklists (Task Lists)
    • Quick Example with Real Links
      • Input Markdown File
      • Generated RST
    • Key Features
    • Code Blocks Preservation
    • Best Practices
      • Use Section Anchors for Cross-Document Links
      • Write Descriptive Link Text
      • Add Alt Text to Images
    • Common Patterns
      • Documentation Navigation Menu
      • Cross-Reference Pattern
      • Image Gallery
    • Limitations
      • Internal Links Without Anchors
    • Conversion Summary Table
    • Related Documentation