style: run prettier
This commit is contained in:
parent
2193d68895
commit
d80c0ec7de
27 changed files with 698 additions and 569 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { remark } from 'remark'
|
||||
import html from 'remark-html'
|
||||
import { remark } from "remark";
|
||||
import html from "remark-html";
|
||||
|
||||
const markdownToHTML = async (markdown: string) => {
|
||||
const result = await remark().use(html).process(markdown)
|
||||
return result.toString()
|
||||
}
|
||||
const result = await remark().use(html).process(markdown);
|
||||
return result.toString();
|
||||
};
|
||||
|
||||
export default markdownToHTML
|
||||
export default markdownToHTML;
|
||||
|
|
|
|||
Reference in a new issue