# ALTO RST

HTML: [altophp.com/rst](https://altophp.com/rst/)

ALTO RST parses reStructuredText into a source-positioned object model and
renders safe HTML without running Python or Sphinx. The same model supports
linting, formatting, editing, references, and conversion.

```php
use Alto\Rst\Rst;

$html = Rst::sphinx()->toHtml("Guide\n=====\n\nWelcome.\n");
```

The package has no runtime Composer dependencies. It supports docutils RST,
Sphinx syntax, and Symfony documentation conventions without claiming to
replace the complete Sphinx toolchain.

## Documentation

- [Installation](https://altophp.com/rst/installation.md)
- [Getting started](https://altophp.com/rst/getting-started.md)
- [Parsing](https://altophp.com/rst/parsing.md)
- [Rendering](https://altophp.com/rst/rendering.md)
- [Linting](https://altophp.com/rst/linting.md)
- [Editing](https://altophp.com/rst/editing.md)
- [Conversion](https://altophp.com/rst/conversion.md)
- [References](https://altophp.com/rst/references.md)
- [Extensions](https://altophp.com/rst/extensions.md)
- [Security](https://altophp.com/rst/security.md)
- [Errors](https://altophp.com/rst/errors.md)

HTML output escapes text, filters unsafe URLs, and keeps file-reading
constructs disabled by default. Read [Security](https://altophp.com/rst/security.md) before granting
additional authority.

The public contract consists of documented types and methods. Types marked
`@internal` in source remain implementation details.

---

Next: [Installation](https://altophp.com/rst/installation.md)

---

ALTO\RST: [altophp.com/rst](https://altophp.com/rst/)
ALTO(PHP): [altophp.com](https://altophp.com/)
