Skip to content

CMDJojo/modmark-lorem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lorem - a ModMark package

This repo contains code for a ModMark package with a module called [lorem]. It is mostly a proof-of-concept that it does work to create a module in Swift.

Build instructions

Install SwiftWasm on your platform and use SwiftPM to build the product in this folder.

On macOS, xcrun --toolchain swiftwasm swift build --triple wasm32-unknown-wasi -c release may work. It might be a good idea to run wasm-opt to reduce the binary size.

Testing

You can test this by supplying example.json to stdin, like cat example.json | swift run lorem transform lorem html.

About

A lorem-ipsum generator package written for ModMark

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages