Skip to content

Commit 994fb54

Browse files
Update documentation and CLI to match options order (#41)
1 parent 0d3ec26 commit 994fb54

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const cli = meow(
2323
and dark themes match or if type is not 'auto'
2424
--only-style Only output the styles, forces --preserve-variables on
2525
--only-variables Only output the variables for the specified themes
26-
--root-selector Specify the root selector when outputting styles, default '.markdown-body'
2726
--no-use-fixture Exclude generated classes that come from GitHub Markdown API rendered fixture.md
27+
--root-selector Specify the root selector when outputting styles, default '.markdown-body'
2828
2929
Examples
3030
$ github-markdown-css --list

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ console.log(await githubMarkdownCss({
4141
// `preserveVariables` to be `true` and ignores the theme values.
4242
// Useful to get the base styles to use multiple themes.
4343
onlyStyles: false,
44+
// Include extra styles from GitHub Flavored Markdown, like code snippets.
45+
useFixture: true,
4446
// Set the root selector of the rendered Markdown body as it should appear
4547
// in the output CSS. Defaults to `.markdown-body`.
4648
rootSelector: '.markdown-body',
@@ -76,6 +78,7 @@ $ github-markdown-css --help
7678
and dark themes match or if type is not 'auto'
7779
--only-style Only output the styles, forces --preserve-variables on
7880
--only-variables Only output the variables for the specified themes
81+
--no-use-fixture Exclude generated classes that come from GitHub Markdown API rendered fixture.md
7982
--root-selector Specify the root selector when outputting styles, default '.markdown-body'
8083
8184
Examples

0 commit comments

Comments
 (0)