@b4moss/hyogen-md 0.13.0 → 0.14.0
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/README.md +2 -2
- package/README_ja.md +2 -2
- package/dist/cli.js +161 -6
- package/dist/client.js +517 -403
- package/dist/expr/interpolateFenceExpressions.d.ts +8 -0
- package/dist/index.js +585 -471
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InterpolateExpressionsOptions } from '../types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Interpolate JS-style `${expr}` only inside fenced code blocks (``` / ~~~).
|
|
4
|
+
* Mustache `{{ }}` is not handled here. Outside fences, `${}` stays literal.
|
|
5
|
+
*/
|
|
6
|
+
export declare function interpolateFenceExpressions(source: string, context: InterpolateExpressionsOptions["context"], options?: Omit<InterpolateExpressionsOptions, "context"> & {
|
|
7
|
+
path?: string;
|
|
8
|
+
}): Promise<string>;
|