Files
2026-05-13 21:17:36 +03:00

55 lines
1.2 KiB
Markdown

# Markdown Page Demo
This page is rendered from `app/views/demo/page.md`. It uses the same main template, top menu, footer, CSS, JavaScript, and light/dark mode as PHP views.
Markdown pages are ideal for documentation, policies, articles, guides, landing copy drafts, and simple content pages.
## What gets styled automatically
Framex wraps Markdown output in `.prose prose-shell`, so common content elements are styled without extra markup:
- Headings
- Paragraphs
- Links
- Ordered and unordered lists
- Inline code
- Code blocks
- Blockquotes
- Tables
- Images
- Horizontal rules
## Example content
You can write ordinary Markdown:
```md
## Feature section
- Fast routes
- PHP views
- Markdown views
- Tailwind styling
```
And it becomes a fully styled content page.
## Table example
| View type | Best for | Route example |
| --- | --- | --- |
| PHP | Dynamic layouts, cards, forms | `/demo/blog-list` |
| Markdown | Docs, articles, simple pages | `/demo/page` |
## Blockquote example
> Markdown is the fastest way to add polished content when the page does not need custom PHP logic.
## Next steps
Open the other demo pages:
- [Demo index](/demo)
- [Blog list](/demo/blog-list)
- [Blog post](/demo/blog-post)