MCPcopy Create free account
hub / github.com/editablejs/editable / handleHTML

Function handleHTML

packages/plugins/mark/src/serializer/markdown.ts:21–25  ·  view source on GitHub ↗
(start: string, end: string)

Source from the content-addressed store, hash-verified

19 }
20
21 const handleHTML = (start: string, end: string): void => {
22 const htmlStart: HTML = { type: 'html', value: start }
23 const htmlEnd: HTML = { type: 'html', value: end }
24 children = [htmlStart, ...children, htmlEnd]
25 }
26
27 if (node.bold) handleStyling('strong')
28 if (node.italic) handleStyling('emphasis')

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…