MCPcopy Index your code
hub / github.com/victorporof/Sublime-HTMLPrettify / get_prettified_code

Function get_prettified_code

src/py/utils/script_utils.py:37–41  ·  view source on GitHub ↗

Gets the prettified text part of the output generated by the node.js scripts

(output)

Source from the content-addressed store, hash-verified

35
36
37def get_prettified_code(output):
38 """Gets the prettified text part of the output generated by the node.js scripts"""
39 start = PRETTIFIED_CODE_MARKER_BEGIN
40 end = PRETTIFIED_CODE_MARKER_END
41 return get_output_between(output, start, end)
42
43
44def get_diagnostics_parse_fail(output):

Callers 1

prettifyFunction · 0.85

Calls 1

get_output_betweenFunction · 0.85

Tested by

no test coverage detected