chore: Use kebab-case for file names
This commit is contained in:
parent
9aac6a65c6
commit
69975c2fdd
8 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { Note } from '../../../models/entities/note';
|
||||
import { toHtml } from '../../../mfm/toHtml';
|
||||
import { toHtml } from '../../../mfm/to-html';
|
||||
import { parse } from '../../../mfm/parse';
|
||||
|
||||
export default function(note: Note) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { IObject } from '../type';
|
||||
import { extractApHashtagObjects } from '../models/tag';
|
||||
import { fromHtml } from '../../../mfm/fromHtml';
|
||||
import { fromHtml } from '../../../mfm/from-html';
|
||||
|
||||
export function htmlToMfm(html: string, tag?: IObject | IObject[]) {
|
||||
const hashtagNames = extractApHashtagObjects(tag).map(x => x.name).filter((x): x is string => x != null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue