Markdown内部链接生成工具

该工具根据输入的Markdown格式文本自动生成页面中的链接(目录)。
根据Markdown标题条目生成一个链接。

怎么用

当你输入Markdown文本时,这个工具将生成一个目录链接。 让我们将Markdown文本粘贴到屏幕左侧的输入框中。

例如,如果你基于下面这样的Markdown文本生成一个内部链接,它将检测到标题元素[#]和[###]并创建一个内部链接。

# Hello World

## header1
- list1
- list2


```javascript
# test code
console.log('hello');
```

## header2
- list3
- list4
            

下面以输出结果为例说明。

- [Hello World](#Hello-World)
  - [header1](#header1)
  - [header2](#header2)


# Hello World

## header1
- list1
- list2


```
# test code
console.log('hello');
```

## header2
- list3
    - list4