Skip to content

A CLI tool for generating beautiful blog posts based on markdown documents

Notifications You must be signed in to change notification settings

FerretCode-Freelancing/techrocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

techrocks

A CLI tool for generating beautiful blog posts based on markdown documents

example generated techrocks document


Image Source

usage

./techrocks -input post.md -output output.html -template template.html

It may also be used with these default values:

  • input=post.md
  • template=template.html
  • output=output.html

Usage like:

./techrocks

template format

techrocks will replace {{.Content}} with the generated markdown HTML

<!DOCTYPE html>
<html>
    <head>
        <title>Markdown Rendered</title>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    </head>
    <body>
        {{ .Content }}
    </body>
</html>

building

go build -o techrocks ./main.go

About

A CLI tool for generating beautiful blog posts based on markdown documents

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages