Usage
{{< md-param from = "parameterName" >}}Includes and renders markdown content from page frontmatter parameters
Description
Retrieves content from a page frontmatter parameter and processes it as markdown. Perfect for dynamic content that can be configured per page while maintaining markdown formatting capabilities.
Parameters
indicates required parameter
from =
"string"REQUIRED
Name of the frontmatter parameter to retrieve and process
page =
"object"REQUIREDcurrent page
Hugo page context (automatically provided)
Examples
Include custom page content using hw shortcode
{{<hw t="md-param" from="customIntro">}}Use hw shortcode with from parameter to include frontmatter markdown content
Page with frontmatter parameter and md-param usage
---
title: "Product Features"
customIntro: |
**Welcome to our platform!**
Here are the key features that make us different:
- **Fast Performance**: Lightning-quick response times
- **Secure by Design**: Enterprise-grade security
- **Easy Integration**: Simple API and SDKs
[Get started today](/signup)
---
{{<hw t="md-param" from="customIntro">}}
{{<hw t="feature-group">}}
{{<hw t="feature"
header="Performance"
text="Optimized for speed and efficiency."
src="/images/icons/speed.png">}}
{{</hw>}}Define markdown in frontmatter and render it with full formatting support
Dynamic banners and announcements
---
title: "Documentation"
announcement: |
🎉 **New API Version Released!**
API v2.0 is now available with improved performance and new features.
[Migration guide](/docs/api-v2-migration) available.
warningMessage: |
⚠️ **Maintenance Notice**: Scheduled downtime on March 20, 2024 from 2-4 AM EST.
---
{{<hw t="md-param" from="announcement">}}
{{<hw t="accordion">}}
{{<hw t="acc-tab" header="Important Updates">}}
{{<hw t="md-param" from="warningMessage">}}
{{</hw>}}
{{</hw>}}
# Documentation
{{<hw t="children">}}Create dynamic announcements that can be easily updated in frontmatter
Product pages with customizable descriptions
---
title: "Enterprise Plan"
productDescription: |
Our **Enterprise Plan** is designed for large organizations that need:
- Unlimited users and projects
- Advanced security features
- 24/7 priority support
- Custom integrations
{{<hw t="table">}}
{{<hw t="thead">}}
{{<hw t="trth">}}Feature{{</hw>}}
{{<hw t="trth">}}Included{{</hw>}}
{{</hw>}}
{{<hw t="tbody">}}
{{<hw t="tr">}}
{{<hw t="td">}}Users{{</hw>}}
{{<hw t="td">}}Unlimited{{</hw>}}
{{</hw>}}
{{</hw>}}
{{</hw>}}
pricing: |
**Custom pricing** based on your organization's needs.
[Contact sales](/contact) for a personalized quote.
---
{{<hw t="md-param" from="productDescription">}}
## Pricing
{{<hw t="md-param" from="pricing">}}
{{<hw t="banner" text="Ready to upgrade? Contact our sales team for a demo and custom pricing.">}}Frontmatter can contain hw shortcodes for complex nested content structures
Multi-language content with parameter selection
---
title: "Welcome"
welcomeEn: |
**Welcome to our platform!**
We're excited to have you join our growing community of developers.
welcomeEs: |
**¡Bienvenido a nuestra plataforma!**
Estamos emocionados de tenerte en nuestra creciente comunidad de desarrolladores.
welcomeFr: |
**Bienvenue sur notre plateforme!**
Nous sommes ravis de vous accueillir dans notre communauté grandissante de développeurs.
---
{{<hw t="accordion">}}
{{<hw t="acc-tab" header="🇺🇸 English">}}
{{<hw t="md-param" from="welcomeEn">}}
{{</hw>}}
{{<hw t="acc-tab" header="🇪🇸 Español">}}
{{<hw t="md-param" from="welcomeEs">}}
{{</hw>}}
{{<hw t="acc-tab" header="🇫🇷 Français">}}
{{<hw t="md-param" from="welcomeFr">}}
{{</hw>}}
{{</hw>}}
{{<hw t="feature-group">}}
{{<hw t="feature"
header="Global Platform"
text="Supporting developers worldwide with localized content."
src="/images/icons/global.png">}}
{{</hw>}}Support multiple languages by storing different versions in frontmatter parameters
Dynamic FAQ and help content
---
title: "FAQ"
faqGeneral: |
**How do I get started?**
1. Create your account
2. Set up your first project
3. {{<hw t="include" from="docs/quick-start.md">}}
faqBilling: |
**What payment methods do you accept?**
We accept all major credit cards and PayPal. Enterprise customers can also pay by invoice.
**Can I change my plan anytime?**
Yes! You can upgrade or downgrade your plan at any time from your account settings.
faqTechnical: |
**What are the API rate limits?**
- Starter: 1,000 requests/hour
- Professional: 10,000 requests/hour
- Enterprise: Custom limits
{{<hw t="caption" text="Need higher limits? Contact support for custom arrangements">}}
---
# Frequently Asked Questions
{{<hw t="accordion">}}
{{<hw t="acc-tab" header="General Questions">}}
{{<hw t="md-param" from="faqGeneral">}}
{{</hw>}}
{{<hw t="acc-tab" header="Billing & Plans">}}
{{<hw t="md-param" from="faqBilling">}}
{{</hw>}}
{{<hw t="acc-tab" header="Technical">}}
{{<hw t="md-param" from="faqTechnical">}}
{{</hw>}}
{{</hw>}}
{{<hw t="banner" text="Can't find your answer? Contact our support team for personalized help.">}}Organize FAQ content in frontmatter for easy maintenance and updates
Additional Information