We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Goal
The documentation states:
Some common use cases: ... having everything in one file: use -i -c to have everything in one file.
-i -c
This is consistent with the documentation of the -c argument which states:
-c
--css-paths (or -c): You can leave this empty to disable storing the CSS in an external CSS file (useful e.g. if you want to convert only one file)
--css-paths
I would like to convert my README.md into a standalone README.html that does not depend on any other files so I run
gh-md-to-html README.md -c -i
Bug
The CSS is outsourced to the default folder github-markdown-css
github-markdown-css
. ├── github-markdown-css │ ├── code-navigation-banner-illo.svg │ └── github-css.css └── README.html
and embedded in the second line of the HTML file which reads
<link href="/github-markdown-css/github-css.css" rel="stylesheet"/>
Desired behaviour
Only a single file, README.html should be created which has the CSS embedded.
README.html
Other attempts
Equally unsuccessful:
gh-md-to-html -c -i -- README.md gh-md-to-html README.md -c -i -o OFFLINE gh-md-to-html README.md -c -i -o OFFLINE+
Setup
gh-md-to-html==1.21.2 python==3.11.4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Goal
The documentation states:
This is consistent with the documentation of the
-c
argument which states:I would like to convert my README.md into a standalone README.html that does not depend on any other files so I run
Bug
The CSS is outsourced to the default folder
github-markdown-css
and embedded in the second line of the HTML file which reads
Desired behaviour
Only a single file,
README.html
should be created which has the CSS embedded.Other attempts
Equally unsuccessful:
Setup
The text was updated successfully, but these errors were encountered: