textproc/discount 2.2.7d MidnightBSD
C implementation of the Markdown markup language
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3
- Categories
- textproc, devel
Description
This is an implementation of John Gruber's Markdown text to html language. There's not much here that differentiates it from any of the existing Markdown implementations except that it's written in C instead of one of the vast flock of scripting languages that are fighting it out for the Perl crown.
Markdown provides a library that gives you formatting functions suitable for marking down entire documents or lines of text, a command-line program that you can use to mark down documents interactively or from a script, and a tiny (1 program so far) suite of example programs that show how to fully utilize the markdown library.
It also does, by default, various smartypants-style substitutions.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | textproc/discount | 2.2.7d |
| FreeBSD | textproc/discount | 3.0.2.0 |
| OpenBSD | textproc/discount | 3.0.1.3 |
| NetBSD | textproc/discount | 2.2.7e |
| DragonFly | textproc/discount | 2.2.7d |
| HardenedBSD | textproc/discount | 3.0.2.0 |
| GhostBSD | textproc/discount | 3.0.2.0 |
Install
Binary package:
mport install discount
From mports:
cd /usr/mports/textproc/discount && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= discount>0:textproc/discount
LIB_DEPENDS= libmarkdown.so:textproc/discount
Dependencies
Required by 1
Configuration
Options name: textproc_discount
| Option | Default | Description |
|---|---|---|
| EXTRA | on | Enable all extra features |
| SAMPLES | off | Install sample programs |
| TAB8 | on | Use a tabstop of 8 (default is 4) |
- USES
- cpe pathfix pkgconfig tar:bz2
- Service scripts
- none
- Conflicts with
- markdown
Files
Manual pages 22
- makepage(1)
- markdown(1)
- markdown(3)
- markdown(7)
- mkd-callbacks(3)
- mkd-extensions(7)
- mkd-functions(3)
- mkd-line(3)
- mkd2html(1)
- mkd_cleanup(3)
- mkd_compile(3)
- mkd_css(3)
- mkd_doc_author(3)
- mkd_doc_date(3)
- mkd_doc_title(3)
- mkd_generatecss(3)
- mkd_generatehtml(3)
- mkd_generateline(3)
- mkd_in(3)
- mkd_line(3)
- mkd_string(3)
- theme(1)
pkg-plist 32
- bin/makepage
- bin/markdown
- bin/mkd2html
- bin/theme
- include/mkdio.h
- lib/libmarkdown.a
- lib/libmarkdown.so
- lib/libmarkdown.so.2
- lib/libmarkdown.so.2.2.7
- libdata/pkgconfig/libmarkdown.pc
- share/man/man1/makepage.1.gz
- share/man/man1/markdown.1.gz
- share/man/man1/mkd2html.1.gz
- share/man/man1/theme.1.gz
- share/man/man3/markdown.3.gz
- share/man/man3/mkd-callbacks.3.gz
- share/man/man3/mkd-functions.3.gz
- share/man/man3/mkd-line.3.gz
- share/man/man3/mkd_cleanup.3.gz
- share/man/man3/mkd_compile.3.gz
- share/man/man3/mkd_css.3.gz
- share/man/man3/mkd_doc_author.3.gz
- share/man/man3/mkd_doc_date.3.gz
- share/man/man3/mkd_doc_title.3.gz
- share/man/man3/mkd_generatecss.3.gz
- share/man/man3/mkd_generatehtml.3.gz
- share/man/man3/mkd_generateline.3.gz
- share/man/man3/mkd_in.3.gz
- share/man/man3/mkd_line.3.gz
- share/man/man3/mkd_string.3.gz
- share/man/man7/markdown.7.gz
- share/man/man7/mkd-extensions.7.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| discount-2.2.7d.tar.bz2 | 106055 | 12a2041e96ae8cde17e08ff1a215d331580a5c58688daa5a18842b6bb5b77b52 |
Master sites 1
- https://www.pell.portland.or.us/~orc/Code/discount/