angular scully generate route md file space replace
angularscullyIn Scully, you can use the --spaces-in-path
option to specify the number of spaces to use when generating routes from
markdown files.
For example, to generate routes with two spaces in the path, you can use the following command:
npx scully --spaces-in-path 2
This will generate routes with paths that use two spaces to separate the words in the file names. For example, a
markdown file named my blog post.md
would be converted to the route /my%20blog%20post
. The %20
characters are
URL-encoded spaces.
You can also use the --replace-spaces
option to specify a different character to use in place of spaces in the
generated
routes. For example, to replace spaces with underscores, you can use the following command:
npx scully --replace-spaces _
This will generate routes with paths that use underscores to separate the words in the file names. For example, the
markdown file my blog post.md
would be converted to the route /my_blog_post
.
Other Article on Tag angular
- - angular add bootstrap
- - angular add semantic-ui
- - angular bootstrap navbar example
- - angular call backend api
- - angular install scully
- - angular login and register page example
- - angular login page example
- - angular navbar code example
- - angular scully generate route md file space replace
- - angular upload multiple file
Other Article on Tag scully
- - angular install scully
- - angular scully generate route md file space replace
- - How to generate sitemap by scully
- - Order data in scully-routes.json