mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-14 18:42:24 +03:00
feat: new @bbob/html api (#4)
This commit is contained in:
committed by
GitHub
parent
bf993813fc
commit
575c1bb932
@@ -1,8 +1,8 @@
|
||||
import {parse} from '@bbob/parser'
|
||||
import core from '@bbob/core'
|
||||
import {render} from '../src';
|
||||
|
||||
const process = (input, params) => {
|
||||
const ast = parse(input);
|
||||
const ast = core().process(input).tree;
|
||||
|
||||
return render(ast, params)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user