# markdown-ts

> 代码生成Markdown文本 - The code generates markdown text

Latest version **0.0.1** (published 2017-04-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install markdown-ts
pnpm add markdown-ts
yarn add markdown-ts
bun add markdown-ts
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-04-21 |
| First published | 2017-04-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Simon Wang |
| Maintainers | hypersimon |

## Links

- npm: https://www.npmjs.com/package/markdown-ts
- Repository: https://github.com/HyperSimon/markdown-js
- Homepage: https://github.com/HyperSimon/markdown-js#readme
- Issues: https://github.com/HyperSimon/markdown-js/issues
- npm.io page: https://npm.io/package/markdown-ts

## Dependencies (3)

- [jest](https://npm.io/package/jest.md) ^19.0.2
- [kit-ts](https://npm.io/package/kit-ts.md) 0.0.1
- [@types/lodash](https://npm.io/package/@types/lodash.md) ^4.14.62

## Recent versions

- 0.0.1 (latest) — 2017-04-21

## README

# markdown-js
代码生成Markdown文本 - The code generates markdown text


## 使用


### Table

```typescript
const table = new Table()

table.addHeader('name', HeaderStyle.LEFT)
table.addHeader('age', HeaderStyle.CENTER)
table.addHeader('school', HeaderStyle.RIGHT)

table.addRow('wangzhen', '21', '郑州市回民中学')
table.addRow('liupei', '20', '郑州市第四中学')
table.generate()

// output
/**
|name|age|school|
|:--|:--:|--:|
|wangzhen|21|郑州市回民中学|
|liupei|20|郑州市第四中学|
*/
```


### Bold
```typescript
Bold.of('wangzhen').generate() // output -> **wangzhen**
```


# 当前进度

| 标签 | 是否支持 |
|:--:|:--:|
| table | Y |
| Bold |Y|
| Emphasize |Y|
| Strike-through	 |N|
| Inline Code	 |N|
| Image |N|
| List |N|
| Blockquote |N|
| H1 |N|
| H2 |N|
| H3 |N|
| H4 |N|
| H5 |N|
| H6 |N|

---
_Source: https://npm.io/package/markdown-ts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
