mirror of
https://github.com/morten-olsen/http.md.git
synced 2026-02-08 00:46:28 +01:00
init
This commit is contained in:
16
src/exports.ts
Normal file
16
src/exports.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
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);
|
||||
Reference in New Issue
Block a user