Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v1.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.markdown
blocktags
config.h
mkdio.h
update-discount.sh
update.sh

README.markdown

Discount instructions

This folder holds the files generated by discount's configure.sh script that are used by QLMarkdown.

Upgrading discount

To upgrade discount run ./discount-config/update-discount.sh This script automates the steps oulined below:

  1. Upgrade the discount repo
  2. Generate dynamic configuration infotmation

Manually upgrading discount

Discount is included as a fake submodule. To upgrade or test other versions of discount, delete the files in the discount directory and clone a new local repository into it:

rm -rf discount/
git clone git://github.com/Orc/discount.git discount

The discount folder will contain a .git folder following the clone however this folder is not included in the enclosing repository and will not be propagated by a push or clone.

Config files

When discount is changed, regenerate the config files. The included update.sh script should do this automatically.

If you want to update the files by hand, remove the "configuration for markdown, generated" comments at the head of config.h to avoid adding needless patches to the git history.

Something went wrong with that request. Please try again.