ui: improve man page layout for options and examples

- Display option flags on separate lines with indented descriptions to prevent overflow
- Parse and separate example commands from their descriptions
- Highlight commands in accent color with muted descriptions below
- Increase spacing between items for better readability
This commit is contained in:
Alejandro Gómez
2025-12-18 09:37:14 +01:00
parent 97c89142ae
commit 3b06e23686
12 changed files with 691 additions and 296 deletions

43
package-lock.json generated
View File

@@ -31,9 +31,11 @@
"date-fns": "^4.1.0",
"dexie": "^4.2.1",
"dexie-react-hooks": "^4.2.0",
"hls-video-element": "^1.5.10",
"hls.js": "^1.6.15",
"jotai": "^2.15.2",
"lucide-react": "latest",
"media-chrome": "^4.17.2",
"prismjs": "^1.30.0",
"react": "^19.2.1",
"react-dom": "^19.2.1",
@@ -4858,6 +4860,15 @@
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/ce-la-react": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/ce-la-react/-/ce-la-react-0.3.2.tgz",
"integrity": "sha512-QJ6k4lOD/btI08xG8jBPxRCGXvCnusGGkTsiXk0u3NqUu/W+BXRnFD4PYjwtqh8AWmGa5LDbGk0fLQsqr0nSMA==",
"license": "BSD-3-Clause",
"peerDependencies": {
"react": ">=17.0.0"
}
},
"node_modules/chai": {
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/chai/-/chai-6.2.1.tgz",
@@ -5097,6 +5108,12 @@
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
"license": "MIT"
},
"node_modules/custom-media-element": {
"version": "1.4.5",
"resolved": "https://registry.npmjs.org/custom-media-element/-/custom-media-element-1.4.5.tgz",
"integrity": "sha512-cjrsQufETwxjvwZbYbKBCJNvmQ2++G9AvT45zDi7NXL9k2PdVcs2h0jQz96J6G4TMKRCcEsoJ+QTgQD00Igtjw==",
"license": "MIT"
},
"node_modules/date-fns": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz",
@@ -5977,6 +5994,17 @@
"url": "https://opencollective.com/unified"
}
},
"node_modules/hls-video-element": {
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/hls-video-element/-/hls-video-element-1.5.10.tgz",
"integrity": "sha512-FruzD03CaQlPlNKfXO1njPbo3jCSImAtFwX1OqgFbMllTQzdYqAHODiWan0q3mr1cYCONOWiAz2/nX+2qHHC+g==",
"license": "MIT",
"dependencies": {
"custom-media-element": "^1.4.5",
"hls.js": "^1.6.5",
"media-tracks": "^0.3.4"
}
},
"node_modules/hls.js": {
"version": "1.6.15",
"resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.6.15.tgz",
@@ -6787,6 +6815,21 @@
"url": "https://opencollective.com/unified"
}
},
"node_modules/media-chrome": {
"version": "4.17.2",
"resolved": "https://registry.npmjs.org/media-chrome/-/media-chrome-4.17.2.tgz",
"integrity": "sha512-o/IgiHx0tdSVwRxxqF5H12FK31A/A8T71sv3KdAvh7b6XeBS9dXwqvIFwlR9kdEuqg3n7xpmRIuL83rmYq8FTg==",
"license": "MIT",
"dependencies": {
"ce-la-react": "^0.3.2"
}
},
"node_modules/media-tracks": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/media-tracks/-/media-tracks-0.3.4.tgz",
"integrity": "sha512-5SUElzGMYXA7bcyZBL1YzLTxH9Iyw1AeYNJxzByqbestrrtB0F3wfiWUr7aROpwodO4fwnxOt78Xjb3o3ONNQg==",
"license": "MIT"
},
"node_modules/merge2": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",