8e7599150f
This change adds a new command line tool to the Splash family: `SplashMarkdown`. It’s an adapted version of the tool that I’ve been using for months to publish every article on Swift by Sundell, and works by replacing all code blocks within a Markdown file. Adding this will hopefully make Splash even easier to use, without the need for writing custom tooling, or to manually replace each code block within a Markdown file with a “splashed” version.
8 lines
355 B
Makefile
8 lines
355 B
Makefile
install:
|
|
swift package update
|
|
swift build -c release -Xswiftc -static-stdlib
|
|
install .build/Release/SplashHTMLGen /usr/local/bin/SplashHTMLGen
|
|
install .build/Release/SplashMarkdown /usr/local/bin/SplashMarkdown
|
|
install .build/Release/SplashImageGen /usr/local/bin/SplashImageGen
|
|
install .build/Release/SplashTokenizer /usr/local/bin/SplashTokenizer
|