DEV Community

Cover image for Building a project from markdown
Jérémie Astor
Jérémie Astor

Posted on

4

Building a project from markdown

Building a project from markdown

This post is intented as an helper for my next one 😄

It aims to briefly demonstrate how one can use mdr
to build a project from a mdr file, which happens to be a markdown file
with few annotations.

Since I not yet comfortable with technical nor post writing,
I'm leaving a (hopefully commented) script do the explanation.
Please read before running 😄

# create a new directory and cd into it
mkdir GwionTest
cd GwionTest

# clone, build and install mdr
git clone https://github.com/fennecdjay/mdr
cd mdr
make
sudo make install

# get back to GwionTest directory
cd ..

# get the mdr file
curl https://raw.githubusercontent.com/fennecdjay/devto.sh/master/mdr/HelloGwion.mdr -o HelloGwion.mdr

# run mdr on the file, thus building the project
# set the BROWSER variable to the executable of the browser you use
# e.g: BROWSER=dissenter-browser mdr HelloGwion.mdr
BROWSER=<your browser here> mdr HelloGwion.mdr
Enter fullscreen mode Exit fullscreen mode

I you see any issues with the wording or anything in this post or the mdr file,
please let me know.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay