mirror of
https://github.com/morten-olsen/http.md.git
synced 2026-02-08 00:46:28 +01:00
17 lines
322 B
TypeScript
17 lines
322 B
TypeScript
|
|
import { inspect } from "node:util";
|
|
import { Context } from "./context/context.js";
|
|
import { execute } from "./execution/execution.js";
|
|
|
|
const context = new Context({
|
|
input: {
|
|
foo: '10',
|
|
},
|
|
});
|
|
const result = await execute('./demo.md', {
|
|
context,
|
|
});
|
|
|
|
console.log(result.markdown);
|
|
console.log(context.files);
|