DSL Complete Test

This page tests ALL Publisher DSL features. Each section tests a specific directive or role.


1. Callout Directives

Note

Information
This is a **note** callout with markdown formatting.

Hint

Pro Tip
This is a **tip** callout. Use it for helpful advice.

Warning

Warning
This is a **warning** callout. Pay attention!

Danger

Critical
This is a **danger** callout. Something is seriously wrong.

2. Image Directive

Search icon test


3. Figure Directive

Moon icon
This is a **figure caption** with markdown support.

4. SVG Directive (block)


5. Grid Layout

### Left Column This is the **left** grid item with some content. - Item 1 - Item 2
### Right Column This is the **right** grid item with different content. - Item A - Item B

6. Card Directive

Test Card

This is a card component. Click to navigate to blog.


7. Tabs Directive

This is **Python** content.
print("Hello from Python!")
This is **JavaScript** content.
console.log("Hello from JS!");
This is **Bash** content.
echo "Hello from Bash!"

8. Class Directive

This content has a **custom CSS class** applied.

9. HTML5 Passthrough

Raw HTML passed through without processing.

10. Inline Roles

SVG Role

Click the icon to search. The toggles dark mode.

Abbreviation Role

The HTML standard defines web pages. We use CSS for styling.


11. AI Directives (if --enhance enabled)

AI Enhance

this text shud be polished by the ai. it has grammar erors and isnt very good written. the ai should fix it and make it sound better.

AI Translate

Dette er en dansk tekst der skal oversættes til engelsk. Den indeholder flere sætninger for at teste oversættelsen ordentligt.

AI Tone

hey dude this is like super casual text lol. it should become way more professional sounding after the AI processes it you know?

AI Expand

FreeBSD jails = OS virtualization. Lightweight. Secure. Fast.

AI Summarize

FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD). FreeBSD is the most popular open-source BSD distribution. It is developed by a large community. FreeBSD is a complete operating system. The kernel, device drivers, userland utilities, and documentation are all developed under the same project. FreeBSD is known for its advanced networking, performance, security, and compatibility features. It has been used to power some of the busiest sites on the Internet, including WhatsApp, Netflix, and Yahoo.

AI SEO

This page demonstrates all the Publisher DSL features including callouts, grids, cards, tabs, images, figures, and AI processing directives.


12. Inline AI Roles

Translate inline: Hej verden fra Danmark!

Make professional: yo this is super cool stuff bro


13. Nested Directives

Nested Content
This callout contains a nested grid:
Nested left
Nested right

14. Mixed Content

Regular markdown paragraph with bold, italic, and code.

Mixed
A callout in the middle of regular content.

Another paragraph after the callout. Here's a list:

  1. First item
  2. Second item with inline icon
  3. Third item

Cross-section links (blog → article)

Learn about ZFS Basics in the FreeBSD articles.

Also check out Python Type Hints Guide for Python type annotations.

See Python Async Patterns That Actually Work for async patterns.

Read more in Linux CLI Tricks.

This link is broken: ⚠️ nonexistent/page.


Test Complete

If you can see all sections rendered correctly, the DSL is working!

Checklist: - [ ] 4 callout types visible (note, tip, warning, danger) - [ ] Image displays - [ ] Figure with caption displays - [ ] SVG block icon displays - [ ] Grid with 2 columns displays - [ ] Card component displays - [ ] Tabs switch between content - [ ] Custom class div displays - [ ] Raw HTML renders - [ ] Inline SVG icons display - [ ] Abbreviations show tooltips on hover - [ ] AI processed content (if --enhance used) - [ ] Nested directives render correctly - [ ] {doc} links resolve to correct URLs - [ ] Broken {doc} links show warning