utilitas 1999.1.30 → 1999.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/manifest.mjs +1 -1
- package/lib/utilitas.mjs +2 -2
- package/package.json +1 -1
package/lib/manifest.mjs
CHANGED
package/lib/utilitas.mjs
CHANGED
|
@@ -552,8 +552,8 @@ const renderCode = (code, options) => {
|
|
|
552
552
|
x => `${String(i++).padStart(bits, '0')} ${s} ${ensureString(x).replace('```', '\\`\\`\\`')}`
|
|
553
553
|
);
|
|
554
554
|
const output = (
|
|
555
|
-
options?.md ? `\`\`\`${options
|
|
556
|
-
) + (options?.asArray ? resp : resp.join('\n')) + (options
|
|
555
|
+
options?.md ? `\`\`\`${options?.md === true ? '' : options?.md}\n` : ''
|
|
556
|
+
) + (options?.asArray ? resp : resp.join('\n')) + (options?.md ? '\n```' : '');
|
|
557
557
|
options?.log && console.log(output);
|
|
558
558
|
return output;
|
|
559
559
|
};
|