mirror of
https://github.com/kovetskiy/mark.git
synced 2025-09-16 01:17:38 +08:00
Run markdown-cli2
This commit is contained in:
parent
781e30bbbe
commit
7f7494f26e
@ -186,8 +186,9 @@ You can use the `--title-from-h1` flag to extract the page title from the first
|
||||
### From the filename
|
||||
|
||||
You can use the `--title-from-filename` flag to use the filename (without the extension) as the page title. `mark` will automatically convert the filename to a more readable title by:
|
||||
* Replacing underscores (`_`) and dashes (`-`) with spaces.
|
||||
* Applying title case to the filename.
|
||||
|
||||
* Replacing underscores (`_`) and dashes (`-`) with spaces.
|
||||
* Applying title case to the filename.
|
||||
|
||||
For example, a file named `my_awesome-page.md` will have the title "My Awesome Page".
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user