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
Now I use it in this way:
import React, { FC } from "react" import "github-markdown-css" import ReactMarkdown from "react-markdown" import remarkGfm from "remark-gfm" interface MarkdownI { children: string } const Markdown: FC<MarkdownI> = ({ children }) => { return ( <div className='markdown-body'> <ReactMarkdown remarkPlugins={[remarkGfm]}>{children}</ReactMarkdown> </div> ) } export default Markdown
It switches between light and dark themes. How to import only light theme?
The text was updated successfully, but these errors were encountered:
Maybe import "github-markdown-css/github-markdown-light"
import "github-markdown-css/github-markdown-light"
Sorry, something went wrong.
In my environment, import "github-markdown-css/github-markdown-light" didn't work, but import "github-markdown-css/github-markdown-light.css"; did.
import "github-markdown-css/github-markdown-light.css";
i love you
No branches or pull requests
Now I use it in this way:
It switches between light and dark themes. How to import only light theme?
The text was updated successfully, but these errors were encountered: