
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@markdown-ui/mdui-lang
Advanced tools
Write widgets 60% faster with concise DSL syntax.
Transform verbose JSON into elegant one-liners that actually make sense.
select env [dev staging prod] dev
↓
{"type": "select", "id": "env", "choices": ["dev", "staging", "prod"], "default": "dev"}
npm install @markdown-ui/mdui-lang
import { parseDSL } from '@markdown-ui/mdui-lang';
const result = parseDSL('text-input username "Username" "Enter username"');
console.log(result.widget);
// Perfect JSON output, ready to use
Single-line widgets
text-input username "Username" "Enter here"
button-group env [dev staging prod] dev
select region [us-east us-west] us-east
slider cpu 1 32 1 4
Multi-line forms
form deploy "Launch"
text-input name "App Name"
select env [dev prod] dev
slider replicas 1 10 1 3
Interactive charts
chart-line
title: Monthly Sales
height: 300
Month,Sales,Target
Jan,100,120
Feb,150,140
Mar,200,180
All parameters after id are optional and positional.
text-input username "User Name"[dev staging prod]"Enter your name here"interface ParseResult {
success: boolean;
widget?: Widget; // Parsed widget if successful
error?: string; // Error message if failed
}
const result = parseDSL('select env [dev prod]');
if (result.success) {
console.log(result.widget); // Ready-to-use JSON
}
Why DSL beats JSON
❌ JSON (130 chars)
{"type": "text-input", "id": "username", "label": "Username", "placeholder": "Enter username", "default": "john"}
✅ DSL (52 chars)
text-input username "Username" "Enter username" "john"
60% fewer keystrokes. 100% more readable.
MIT © 2025
FAQs
DSL parser for markdown-ui widgets
We found that @markdown-ui/mdui-lang demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.