Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sgaunet/mdtohtml
Command-line tool to convert markdown to html
https://github.com/sgaunet/mdtohtml
Last synced: 2 months ago
JSON representation
Command-line tool to convert markdown to html
- Host: GitHub
- URL: https://github.com/sgaunet/mdtohtml
- Owner: sgaunet
- License: mit
- Created: 2021-03-09T06:21:58.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T14:13:42.000Z (5 months ago)
- Last Synced: 2024-07-27T15:26:38.054Z (5 months ago)
- Language: CSS
- Homepage:
- Size: 55.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Go Report Card](https://goreportcard.com/badge/github.com/sgaunet/mdtohtml)](https://goreportcard.com/report/github.com/sgaunet/mdtohtml)
[![GitHub release](https://img.shields.io/github/release/sgaunet/mdtohtml.svg)](https://github.com/sgaunet/mdtohtml/releases/latest)
[![Go Report Card](https://goreportcard.com/badge/github.com/sgaunet/mdtohtml)](https://goreportcard.com/report/github.com/sgaunet/mdtohtml)
![GitHub Downloads](https://img.shields.io/github/downloads/sgaunet/mdtohtml/total)# Markdown to HTML cmd-line tool
Tool to convert markdown file to html with a css like github.
# Forked project
I clean some code, remove some options and add [the github-markdown CSS](https://github.com/sindresorhus/github-markdown-css)
You can use the README ini tst folder to test the app.
```
mdtohtml README.md README.html
```# Docker Image
There is a docker image to integrate the binary into your own docker image for example.
For example, the Dockerfile should look like :
```
FROM sgaunet/mdtohtml:0.3.1 AS mdtohtmlFROM
...
COPY --from=mdtohtml /usr/bin/mdtohtml /usr/bin/mdtohtml
...```
# Install
## With homebrew
```
brew tap sgaunet/tools
brew install mdtohtml
```## Download release
And copy it to /usr/local/bin