mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-18 14:13:30 +09:00
fixed search results url
This commit is contained in:
@@ -14,10 +14,10 @@ export const slugify = (content: string) => {
|
||||
};
|
||||
|
||||
// markdownify
|
||||
export const markdownify = (content: string) => {
|
||||
export const markdownify = (content: string, div?:boolean) => {
|
||||
if (!content) return null;
|
||||
|
||||
return marked.parseInline(content);
|
||||
return div? marked.parse(content) : marked.parseInline(content);
|
||||
};
|
||||
|
||||
// humanize
|
||||
|
||||
Reference in New Issue
Block a user