Render for Command Line Interface Pages.
- Several render modes smarter than almost all TlDr clients provide.
- Theming support via YAML files.
Command: clip-view sed
.
Input Command Line Interface Page:
# sed
> Edit text in a scriptable manner
> See also: awk, ed
> More information: https://www.gnu.org/software/sed/manual/sed.html
- Replace all specific strings (basic regex) with another one (basic regex) in all input lines:
`{string input: command} | sed 's/{string replacable string: apple}/{string replacement string: mango}/g'`
- Replace all specific strings (extended regex) with another one (extended regex) in all input lines:
`{string input: command} | sed {option: --regexp-extended, -E} 's/{string replacable string: apple}/{string replacement string: mango}/g'`
- Execute a specific script [f]ile:
`{string input: command} | sed {option: --file, -f} {/?file script: sample.sed}`
- Display a specific line:
`{string input: command} | sed {option: --silent, -n} '{int line: 1}p'`
Output:
Run clip-view sed
.
Input Command Line Interface Page theme with the same page:
header:
prefix: "[ "
suffix: " ]"
summary:
description:
prefix: "What is it? "
tag:
more-information:
prefix: "Want to learn more? "
Output:
Prerequisite: YAML extension
Add to Visual Studio Code settings:
"yaml.schemas": {
"path/to/theme.json": "path/to/file_where_enable_intellisence.yaml"
}