Lines Matching refs:a

10 What is this? <a name="what"></a>
13 A set of [PHP][] classes, each representing a [Markdown][] flavor, and a command line tool
17 Parsing Markdown to HTML is as simple as calling a single method (see [Usage](#usage)) providing a
20 Extending the Markdown language with new elements is as simple as adding a new method to the class …
37 [PHP]: http://php.net/ "PHP is a popular general-purpose scripting language that is especially suit…
49 Installation <a name="installation"></a>
76 Usage <a name="usage"></a>
155 …--full ouput a full HTML page with head and body. If not given, only the parsed markdown will b…
163 Render a file with original markdown:
167 Render a file using gihtub flavored markdown:
194 Extending the language <a name="extend"></a>
199 The most basic block element is a paragraph (`<p>`).
209 To identify a line as the beginning of a block element it calls all protected class methods who's n…
223 // if a line starts with at least 3 backticks it is identified as a fenced code block
234 In the above, `$line` is a string containing the content of the current line and is equal to `$line…
237 Parsing of a block element is done in two steps:
240 …line until a blank line occurs. This step is implemented by a method named `consume{blockName}()` …
288 … highlighting here. In general it would also be possible to render ouput in a different language t…
295 An inline element is identified by a marker that marks the beginning of an inline element (e.g. `[`…
296 beginning of a link or `` ` `` will mark inline code).
298 …ements are also protected and identified by the prefix `parse`. Additionally a `@marker` annotation
300 The method will then be called when a marker is found in the text. As an argument it takes the text…
318 // check whether the marker really represents a strikethrough (i.e. there is a closing ~~)
328 // in case we did not find a closing ~~ we just return the marker and skip 2 characters
332 // rendering is the same as for block elements, we turn the abstract syntax array into a string.
347 1. Select a base class
352 #### Select a base class
354 If you want to extend from a flavor and only add features you can use one of the existing classes
357 If you want to define a subset of the markdown language, i.e. remove some of the features, you have…
407 function. This means that if a line starting with `-` could be a list or a horizontal rule, the pre…
412 There is also a conflict for parsing of the `<` character. This could either be a link/email enclos…
419 parsing to ensure you get a reusable object.
423 Depending on the language features you have chosen there is a different set of characters that can …
429 * @var array these are "escapeable" characters. When using one of these prefixed with a
454 which define different rules for which elements are allowed to interrupt a paragraph.
457 Acknowledgements <a name="ack"></a>
466 FAQ <a name="faq"></a>
474 as you have to come up with a complex regex, that matches your addition but does not mess
485 from Parsedown and making it extensible creating a class for each markdown flavor that extend each
487 This allows you to choose between markdown language flavors and also provides a way to compose your