44 lines
677 B
Markdown
44 lines
677 B
Markdown
# Discount v3 shared library
|
|
|
|
It's fork of Jessica (ex- David) L. Parsons's Clang implementation of John Gruber & Aaron Swartz's Markdown markup language: https://github.com/Orc/discount
|
|
|
|
Download page - https://www.pell.portland.or.us/~orc/Code/discount/downloads.html
|
|
|
|
By default, discount v3 compiled as static library, but using the lib's API requires shared library.
|
|
|
|
Here is the solution:
|
|
|
|
1. Clone this repo
|
|
|
|
```
|
|
git clone https://gitlabor.ru/Datenlabor/discount
|
|
|
|
```
|
|
|
|
2. Run configure
|
|
|
|
```
|
|
cd discount
|
|
./configure.sh
|
|
|
|
```
|
|
|
|
3. If you are already have discount installed, clean it
|
|
|
|
```
|
|
|
|
sudo make clean
|
|
|
|
```
|
|
|
|
4. Run make and make install
|
|
|
|
```
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|