Comments (2)
Your documentation could probably use enhancing as it turns out the answer was to set the MarkdownFlags option within the apache configuration file (see http://www.pell.portland.or.us/~orc/Code/discount/#flags for more information). In case anyone needs a table listing of these flags I used the first three OR'd into an integer value eg, MarkdownFlags 33574912
Flags table at time of writing:
Flag | Value | Description |
---|---|---|
MKD_FENCEDCODE | 0x02000000 | enabled fenced code blocks |
MKD_AUTOLINK | 0x00004000 | make http://foo.com link even without <>s |
MKD_TOC | 0x00001000 | do table-of-contents processing |
MKD_1_COMPAT | 0x00002000 | compatibility with MarkdownTest_1.0 |
MKD_CDATA | 0x00000080 | generate code for xml ![CDATA[...]] |
MKD_EMBED MKD_NOLINKS | MKD_NOIMAGE | MKD_TAGTEXT |
MKD_EXPLICITLIST | 0x80000000 | don't combine numbered/bulletted lists |
MKD_EXTRA_FOOTNOTE | 0x00200000 | enable markdown extra-style footnotes |
MKD_GITHUBTAGS | 0x08000000 | allow dash and underscore in element names |
MKD_IDANCHOR | 0x04000000 | use id= anchors for TOC links |
MKD_LATEX | 0x40000000 | handle embedded LaTeX escapes |
MKD_NOALPHALIST | 0x00080000 | forbid alphabetic lists |
MKD_NODIVQUOTE | 0x00040000 | forbid >%class% blocks |
MKD_NODLDISCOUNT | 0x00800000 | disable discount-style definition lists |
MKD_NODLIST | 0x00100000 | forbid definition lists |
MKD_NO_EXT | 0x00000040 | don't allow pseudo-protocols |
MKD_NOHEADER | 0x00010000 | don't process header blocks |
MKD_NOHTML | 0x00000008 | don't allow raw html through AT ALL |
MKD_NOIMAGE | 0x00000002 | don't do image processing, block |
MKD_NOLINKS | 0x00000001 | don't do link processing, block tags |
MKD_NOPANTS | 0x00000004 | don't run smartypants() |
MKD_NORELAXED | 0x00000200 | emphasis happens /everywhere/ |
MKD_NOSTRIKETHROUGH | 0x00000800 | forbid |
MKD_NOSTYLE | 0x00400000 | don't extract <style> blocks |
MKD_NOSUPERSCRIPT | 0x00000100 | no A^B |
MKD_NOTABLES | 0x00000400 | disallow tables |
MKD_SAFELINK | 0x00008000 | paranoid check for link protocol |
MKD_STRICT | 0x00000010 | disable SUPERSCRIPT, RELAXED_EMPHASIS |
MKD_TABSTOP | 0x00020000 | expand tabs to 4 spaces |
MKD_TAGTEXT | 0x00000020 | process text inside an html tag; no |
MKD_URLENCODEDANCHOR | 0x10000000 | urlencode non-identifier chars instead of replacing with dots |
from apache-mod-markdown.
ok, added docs and changed MarkdownFlags default value.
thanks.
from apache-mod-markdown.
Related Issues (20)
- Brew support? HOT 2
- make install does not work in Ubuntu HOT 3
- Some unusual differences between master(7b0eb) and v1.0.3 HOT 2
- 1st level header doesn't translated as <title> HOT 2
- Feature Request: Allow customize Doctype HOT 2
- Content-Type should be application/xhtml+xml when Doctype is XHTML
- <title> element is required even when no title is available HOT 1
- Feature Request: Support LaTeX(MathJax) rendering HOT 1
- checklists are not rendered nicely HOT 1
- Single tick ` and triple tick ``` both render as <code> HOT 2
- Build instructions broken HOT 1
- How to use MarkdownFooterHtml/MarkdownHeaderHtml HOT 26
- Generate a Table of Contents
- Serving compressed markdown file
- Cannot build on Debian 10 HOT 1
- configure.ac: obsoleted m4s macros
- make fails with link error HOT 4
- does nothing
- Unable to build, Ubuntu 15.04 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apache-mod-markdown.