style: update preview styles.

This commit is contained in:
jaywcjlove
2022-09-02 01:31:20 +08:00
parent 3d11eb8479
commit 92db8dd11a
2 changed files with 7 additions and 5 deletions

View File

@@ -8,7 +8,7 @@
## 功能特性 ## 功能特性
开发计划和一些功能介绍,有需求可以在 issue 中提,使得工具变得更加完善。 开发计划和一些功能介绍,有需求可以在 issue 中提,使得工具变得更加完善。下面示例用于 web 应用中效果展示。
- [x] 支持 Markdown 所有基础语法 - [x] 支持 Markdown 所有基础语法
- [x] 支持自定义 CSS 样式 - [x] 支持自定义 CSS 样式
@@ -18,7 +18,7 @@
### 支持代码块样式 ### 支持代码块样式
下面是 `jsx` 代码块展示示例,并高亮代码 下面是 `jsx` 代码块展示示例,并高亮代码,用于 web 应用中效果展示。
```jsx ```jsx
function Demo() { function Demo() {
@@ -26,7 +26,7 @@ function Demo() {
} }
``` ```
下面是 `css` 代码块展示示例,并高亮代码 下面是 `css` 代码块展示示例,并高亮代码,用于 web 应用中效果展示。
```css ```css
li { li {
@@ -40,6 +40,8 @@ li {
### 支持内联代码 ### 支持内联代码
> 用于 web 应用中效果展示。
Inline Code `{code: 0}` Inline Code `{code: 0}`
### 支持表格 ### 支持表格

View File

@@ -73,10 +73,10 @@ blockquote {
font-size:14px; font-size:14px;
font-style:normal; font-style:normal;
border-left:none; border-left:none;
padding:1em; padding:0.1rem 1rem;
border-radius:4px; border-radius:4px;
background:rgba(27,31,35,.05); background:rgba(27,31,35,.05);
margin:2em 8px; margin: 1rem 0;
} }
pre { pre {