UNPKG
mdkjs-cli
Version:
latest (1.0.0-alpha)
1.0.0-alpha
mdkjs-cli
/
template
/
src
/
main.ts
9 lines
(8 loc)
•
206 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
*
as
mdk
from
'mdkjs'
export
default
new
mdk.
File
({
filename
:
'main'
,
render
(
ctx
) { ctx.
addComment
(
'this is a main mcfunction file'
) ctx.
add
(
'say main file'
) } })