Render css based on the markdown format modified by typo.css.
- Author: Charles Chan
- Organization: Corgi Coding
- Github: https://github.com/Corgi-Coding
Here is an html file for your reference link
There are two ways to use it
- Install package
npm install @corgicoding/theme
- Import css file to the page.
/* On-demand import */
import "@corgicoding/theme/dist/normalize.css";
import "@corgicoding/theme/dist/github.css";
import "@corgicoding/theme";
- Add the
c-html-render
class to the dom element to be rendered.
- DownLoad this Repository.
- Unzip
- Add the
c-html-render
class to the dom element to be rendered. - Add the following code to the page.
<!-- Prevent compatibility issues caused by different browsers -->
<link rel="stylesheet" href="./dist/normalize.css" />
<!-- corgicoding.theme -->
<link rel="stylesheet" href="./dist/corgicoding.theme.min.css" />
<!-- github style code render -->
<link rel="stylesheet" href="./dist/github.css" />
<div class="c-html-render" />