Function: loadCscLink()
loadCscLink(
link,resourcesDir):Promise<string>
Resolves a CSC link to its text content.
Formats accepted:
- Base64: detected by
data:…;base64,prefix, length > 2048, or trailing= - File path:
~/…,file://…, absolute, or relative tocwd
Parameters
link
string
resourcesDir
string | undefined
Returns
Promise<string>