2023-03-01 11:55:35 +00:00
|
|
|
# md-to-clip
|
|
|
|
|
|
|
|
> Converter from tldr-pages to Command Line Interface Pages.
|
|
|
|
> See also: `clip-view`.
|
|
|
|
> More information: <https://github.com/command-line-interface-pages/v2-tooling/tree/main/md-to-clip>.
|
|
|
|
|
|
|
|
- Convert tldr-pages files and save into the same directories:
|
|
|
|
|
|
|
|
`md-to-clip {{path/to/page1.md path/to/page2.md ...}}`
|
|
|
|
|
|
|
|
- Convert tldr-pages files and save into a specific directory:
|
|
|
|
|
|
|
|
`md-to-clip --output-directory {{path/to/directory}} {{path/to/page1.md path/to/page2.md ...}}`
|
|
|
|
|
2023-07-02 14:12:01 +01:00
|
|
|
- Convert a tldr-page file to `stdout`:
|
2023-03-23 17:38:10 +00:00
|
|
|
|
|
|
|
`md-to-clip --no-file-save <(echo '{{page-content}}')`
|
|
|
|
|
|
|
|
- Convert tldr-pages files while recognizing additional placeholders from a specific config:
|
|
|
|
|
|
|
|
`md-to-clip --special-placeholder-config {{path/to/config.yaml}} {{path/to/page1.md path/to/page2.md ...}}`
|
|
|
|
|
2023-03-01 11:55:35 +00:00
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`md-to-clip --help`
|
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
|
|
`md-to-clip --version`
|