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

Function handleStyling

packages/plugins/mark/src/serializer/markdown.ts:16–19  ·  view source on GitHub ↗
(type: 'strong' | 'emphasis' | 'delete')

Source from the content-addressed store, hash-verified

14 : (next(node, options) as PhrasingContent[])
15
16 const handleStyling = (type: 'strong' | 'emphasis' | 'delete'): void => {
17 const styling: Strong | Emphasis | Delete = { type, children }
18 children = [styling]
19 }
20
21 const handleHTML = (start: string, end: string): void => {
22 const htmlStart: HTML = { type: 'html', value: start }

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…