open-index/open-npm huggingface dataset:
npm package: @shiyanlou/marked
Description: shiyanlou marked
Author: chenyx
Latest version: 2.2.22

# marked-ext

## 安装

```bash
$ npm install @shiyanlou/marked --save
```

## 使用

```vue
<template>
  <div ref="marked" class="markdown-body" v-html="markedStr" />
</template>

<script>
import '@shiyanlou/marked/lib/styles.css'
import marked from '@shiyanlou/marked'

export default {
  data() {
    return {
      str: '## 标题\n',
    }
  },
  computed: {
    markedStr() {
      return marked(this.str)
    },
  },
  mounted() {
    marked.renderExtends(this.$refs.marked)
  },
  updated() {
    marked.renderExtends(this.$refs.marked)
  },
}
</script>
```

## 一、插入公式（基于 Katex）

### 1. 行内公式

<pre>
在实验楼学习编程非常棒 $ a = 5 $ 可以这样写公式
</pre>

### 2. 独立成行的公式

<pre>
$$ a = 5 $$
</pre>

## 二、插入视频（基于 video.js）

> 视频格式使用 mp4

### 1. 新写法

<pre>
```video
http://labfile.oss-cn-hangzhou.aliyuncs.com/shiyanlou_desktop/desktop.flv
```
</pre>

### 2. 以前的写法（不推荐）

<pre>
`@
http://labfile.oss-cn-hangzhou.aliyuncs.com/shiyanlou_desktop/desktop.flv
@`
</pre>

## 三、插入 checker

<pre>
```checker
- name: 检查是否执行过 Python3
  script: |
    #!/bin/bash
    grep python3 /home/shiyanlou/.zsh_history
  error: |
    我们发现您还没有执行过 Python3 解释器
```
</pre>
npm package: @shiyec/retech-ui
Description: ## Project setup ``` yarn install ```
Latest version: 0.1.2

# retech-ui

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn run serve
```

### Compiles and minifies for production
```
yarn run build
```

### Run your tests
```
yarn run test
```

### Lints and fixes files
```
yarn run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).