File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ const cli = meow(
23
23
and dark themes match or if type is not 'auto'
24
24
--only-style Only output the styles, forces --preserve-variables on
25
25
--only-variables Only output the variables for the specified themes
26
- --root-selector Specify the root selector when outputting styles, default '.markdown-body'
27
26
--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'
28
28
29
29
Examples
30
30
$ github-markdown-css --list
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ console.log(await githubMarkdownCss({
41
41
// `preserveVariables` to be `true` and ignores the theme values.
42
42
// Useful to get the base styles to use multiple themes.
43
43
onlyStyles: false ,
44
+ // Include extra styles from GitHub Flavored Markdown, like code snippets.
45
+ useFixture: true ,
44
46
// Set the root selector of the rendered Markdown body as it should appear
45
47
// in the output CSS. Defaults to `.markdown-body`.
46
48
rootSelector: ' .markdown-body' ,
@@ -76,6 +78,7 @@ $ github-markdown-css --help
76
78
and dark themes match or if type is not 'auto'
77
79
--only-style Only output the styles, forces --preserve-variables on
78
80
--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
79
82
--root-selector Specify the root selector when outputting styles, default '.markdown-body'
80
83
81
84
Examples
You can’t perform that action at this time.
0 commit comments