Skip to content

Function: looksLikeMarkdown() ​

ts
function looksLikeMarkdown(text): boolean;

Whether plain text looks like Markdown worth formatting on paste.

Parameters ​

ParameterType
textstring

Returns ​

boolean