Skip to content

Commit

Permalink
🐛 fix #949
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Mar 11, 2021
1 parent 2bfa597 commit ef3652e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
### v3.8.3 / 2021-02-xx

* [949](https://github.com/Vanessa219/vditor/issues/949) lute.Md2HTML 3.7.5 后解析无 id 属性 `修复缺陷` TODO
* [936](https://github.com/Vanessa219/vditor/issues/936) not changed to the link `改进功能` TODO
* [936](https://github.com/Vanessa219/vditor/issues/936) Auto link `.app` domain suffix `改进功能`
* [926](https://github.com/Vanessa219/vditor/issues/926) 即时渲染和所见即所得模式支持点击链接 `引入特性`

### v3.8.2 / 2021-03-01
Expand Down
1 change: 1 addition & 0 deletions src/ts/markdown/previewRender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const md2html = (mdText: string, options?: IPreviewOptions) => {
},
});
}
lute.SetHeadingID(true);
return lute.Md2HTML(mdText);
});
};
Expand Down
2 changes: 2 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ declare class Lute {

public SetChineseParagraphBeginningSpace(enable: boolean): void;

public SetHeadingID(enable: boolean): void;

public SetRenderListStyle(enable: boolean): void;

public SetLinkBase(url: string): void;
Expand Down

0 comments on commit ef3652e

Please sign in to comment.