Home
last modified time | relevance | path

Searched refs:markdown (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/external/markdown/tests/
Dtest_apis.py30 import markdown
32 from markdown.__main__ import parse_options
46 self.md = markdown.Markdown()
62 from markdown.extensions.footnotes import FootnoteExtension
63 markdown.Markdown(extensions=[FootnoteExtension()])
67 markdown.Markdown(extensions=['footnotes'])
71 markdown.Markdown(extensions=['markdown.extensions.footnotes'])
75 markdown.Markdown(extensions=['markdown.extensions.footnotes:FootnoteExtension'])
99 markdown.markdownFromFile(input=infile, output=outfile)
107 markdown.markdownFromFile(input=infile, output=outfile)
[all …]
Dtest_extensions.py29 import markdown
47 class TestExtension(markdown.extensions.Extension):
92 self.md = markdown.Markdown(extensions=['abbr'])
121 self.md = markdown.Markdown(extensions=['meta'])
202 self.md = markdown.Markdown(extensions=['wikilinks'])
228 self.assertEqual(markdown.markdown(
230 markdown.extensions.wikilinks.WikiLinkExtension(
242 md = markdown.Markdown(
267 md = markdown.Markdown(extensions=['meta', 'wikilinks'])
284 from markdown.extensions.wikilinks import WikiLinkExtension
[all …]
/external/dokka/core/src/main/kotlin/Markdown/
DMarkdownProcessor.kt3 import org.intellij.markdown.IElementType in <lambda>()
4 import org.intellij.markdown.MarkdownElementTypes in <lambda>()
5 import org.intellij.markdown.ast.ASTNode in <lambda>()
6 import org.intellij.markdown.ast.LeafASTNode in <lambda>()
7 import org.intellij.markdown.ast.getTextInNode in <lambda>()
8 import org.intellij.markdown.flavours.commonmark.CommonMarkFlavourDescriptor in <lambda>()
9 import org.intellij.markdown.parser.MarkdownParser in <lambda>()
11 class MarkdownNode(val node: ASTNode, val parent: MarkdownNode?, val markdown: String) { in <lambda>() constant in org.jetbrains.dokka.MarkdownNode
12 val children: List<MarkdownNode> = node.children.map { MarkdownNode(it, this, markdown) } in <lambda>()
14 val text: String get() = node.getTextInNode(markdown).toString() in <lambda>()
[all …]
/external/markdown/tests/extensions/extra/
Draw-html.txt1 <div markdown="1">_foo_</div>
3 <div markdown=1 class="baz">
7 <div markdown>
13 <div markdown="1" name="Example">
17 <div markdown="1" name="DefaultBlockMode">
23 <p markdown="1" name="DefaultSpanMode">
29 <div markdown="span" name="SpanModeOverride">
34 <p markdown="block" name="BlockModeOverride">
46 This text is after the markdown in html.
48 <div markdown="1" name="issue308">
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dmarkdown_test.py15 from devil.utils import markdown
21 self.assertEquals('**foo**', markdown.md_bold(raw))
25 self.assertEquals('**\\*foo\\***', markdown.md_bold(raw))
40 actual = markdown.md_code(raw, language='python')
64 actual = markdown.md_code(raw, language=None)
70 actual = markdown.md_escape(raw)
75 self.assertEquals('# Heading 1', markdown.md_heading(raw, level=1))
79 self.assertEquals('##### Heading 5', markdown.md_heading(raw, level=5))
83 self.assertEquals('###### Heading 10', markdown.md_heading(raw, level=10))
88 markdown.md_inline_code(raw))
[all …]
/external/cronet/components/cronet/tools/
Dgenerate_javadoc.pydeps8 ../../../third_party/markdown/__init__.py
9 ../../../third_party/markdown/__version__.py
10 ../../../third_party/markdown/blockparser.py
11 ../../../third_party/markdown/blockprocessors.py
12 ../../../third_party/markdown/extensions/__init__.py
13 ../../../third_party/markdown/inlinepatterns.py
14 ../../../third_party/markdown/odict.py
15 ../../../third_party/markdown/postprocessors.py
16 ../../../third_party/markdown/preprocessors.py
17 ../../../third_party/markdown/serializers.py
[all …]
/external/chromium-trace/catapult/devil/docs/
Dmarkdown.md1 # [devil.utils.markdown](https://chromium.googlesource.com/catapult.git/+/HEAD/devil/devil/utils/ma…
13 A really bare-bones argparse help formatter that generates valid markdown.
39 as valid markdown.
61 Write markdown documentation for the module at the provided path.
72 Returns markdown-formatted bold text.
75 Write markdown documentation for a class.
83 A list of markdown-formatted lines.
89 Returns a markdown-formatted code block in the given language.
92 Write a markdown-formatted docstring.
95 A list of markdown-formatted lines.
[all …]
/external/markdown/docs/extensions/
Dindex.md9 To use an extension, pass it to markdown with the `extensions` keyword.
12 markdown.markdown(some_text, extensions=[MyExtClass(), 'myext', 'path.to.my.ext:MyExtClass'])
20 python -m markdown -x myext -x path.to.module:MyExtClass input.txt > output.html
40 [Extra] | `extra` | `markdown.extensions.extra`
41 &nbsp; &nbsp; [Abbreviations] | `abbr` | `markdown.extensions.abbr`
42 &nbsp; &nbsp; [Attribute Lists] | `attr_list` | `markdown.extensions.attr_list`
43 &nbsp; &nbsp; [Definition Lists] | `def_list` | `markdown.extensions.def_list`
44 &nbsp; &nbsp; [Fenced Code Blocks] | `fenced_code` | `markdown.extensions.fenced_code`
45 &nbsp; &nbsp; [Footnotes] | `footnotes` | `markdown.extensions.footnotes`
46 &nbsp; &nbsp; [Markdown in HTML] | `md_in_html` | `markdown.extensions.md_in_html`
[all …]
Dmd_in_html.md12 …nt of a raw HTML block-level element can be parsed as Markdown by including a `markdown` attribute
13 on the opening tag. The `markdown` attribute will be stripped from the output, while all other attr…
16 The `markdown` attribute can be assigned one of three values: [`"1"`](#1), [`"block"`](#block), or …
21 …ing to the HTML specification. Whereas the `"span"` and `"block"` values assigned to the `markdown`
24 ### `markdown="1"` { #1 }
26 When the `markdown` attribute is set to `"1"`, then the parser will use the default behavior for th…
36 <div markdown="1">
55 <p markdown="1">
68 ### `markdown="block"` { #block } argument
70 When the `markdown` attribute is set to `"block"`, then the parser will force the `block` behavior …
[all …]
Dapi.md30 Preprocessors inherit from `markdown.preprocessors.Preprocessor` and implement a `run` method, whic…
39 from markdown.preprocessors import Preprocessor
66 [c1]: https://github.com/Python-Markdown/markdown/blob/master/markdown/preprocessors.py
67 [c2]: https://github.com/Python-Markdown/markdown/blob/master/markdown/preprocessors.py
68 [c3]: https://github.com/Python-Markdown/markdown/blob/master/markdown/preprocessors.py
69 [c4]: https://github.com/Python-Markdown/markdown/blob/master/markdown/extensions/meta.py
70 [c5]: https://github.com/Python-Markdown/markdown/blob/master/markdown/extensions/footnotes.py
78 Block processors inherit from `markdown.blockprocessors.BlockProcessor`, are passed `md.parser` on …
215 [b1]: https://github.com/Python-Markdown/markdown/blob/master/markdown/blockprocessors.py
216 [b2]: https://github.com/Python-Markdown/markdown/blob/master/markdown/blockprocessors.py
[all …]
Dnl2br.md12 [Github]: https://github.github.com/github-flavored-markdown/
18 >>> import markdown
23 >>> html = markdown.markdown(text, extensions=['nl2br'])
40 markdown.markdown(some_text, extensions=['nl2br'])
Dtoc.md68 >>> md = markdown.Markdown(extensions=['toc'])
110 ## `markdown.markdown(text [, **kwargs])` { #markdown data-toc-label='markdown.markdown' }
119 <li><a href="#markdown">markdown.markdown</a></li>
124 <h2 id="markdown"><code>markdown.markdown(text [, **kwargs])</code></h2>
189 >>> from markdown.extensions.toc import TocExtension
190 >>> html = markdown.markdown(text, extensions=[TocExtension(baselevel=3)])
198 Default: `markdown.extensions.headerid.slugify`
209 provided as `markdown.extensions.headerid.slugify_unicode`.
231 markdown.markdown(some_text, extensions=['toc'])
/external/markdown/tests/php/extra/
DInline HTML with Markdown content.text3 <div markdown="1">
7 <div markdown='1'>
11 <div markdown=1>
16 <tr><td markdown="1">test _emphasis_ (span)</td></tr>
20 <tr><td markdown="span">test _emphasis_ (span)</td></tr>
24 <tr><td markdown="block">test _emphasis_ (block)</td></tr>
30 <tr><td markdown="1">
32 <tr><td markdown="span">
34 <tr><td markdown="block">
42 <div markdown="1">
[all …]
/external/markdown/docs/
Dreference.md10 To use markdown as a module:
13 import markdown
14 html = markdown.markdown(your_text_string)
19 Python-Markdown provides two public functions ([`markdown.markdown`](#markdown)
20 and [`markdown.markdownFromFile`](#markdownFromFile)) both of which wrap the
21 public class [`markdown.Markdown`](#Markdown). If you're processing one
24 instance of the `markdown.Markdown` class and pass multiple documents through
28 ### markdown.markdown(text [, **kwargs]) {: #markdown data-toc-label='markdown.markdown' } hashtag
30 The following options are available on the `markdown.markdown` function:
44 html = markdown.markdown(text)
[all …]
Dtest_tools.md10 Therefore, the tools are importable from `markdown.test_tools`.
13 `markdown.test_tools.TestCase` and `markdown.test_tools.LegacyTestCase`.
15 ## markdown.test_tools.TestCase
17 The `markdown.test_tools.TestCase` class is a `unittest.TestCase` subclass with
38 In all other respects, `markdown.test_tools.TestCase` behaves as
45 from markdown.test_tools import TestCase
64 # Other keyword arguments to pass to `markdown.markdown`
69 ## markdown.test_tools.LegacyTestCase
73 the [reference implementation][perl] (`markdown.pl`) and [PHP Markdown][PHP].
82 A separate `markdown.test_tools.LegacyTestCase` subclass must be created for
[all …]
/external/markdown/docs/change_log/
Drelease-3.4.md27 from markdown.extensions.tables import TableExtension
29 markdown.markdown(src, extensions=[TableExtension(use_align_attribute=True)])
52 | `markdown.version` | `markdown.__version__` |
53 | `markdown.version_info` | `markdown.__version_info__` |
54 | `markdown.util.etree` | `xml.etree.ElementTree` |
55 | `markdown.util.string_type` | `str` |
56 | `markdown.util.text_type` | `str` |
57 | `markdown.util.int2str` | `chr` |
58 | `markdown.util.iterrange` | `range` |
59 | `markdown.util.isBlockLevel` | `markdown.Markdown().is_block_level`|
[all …]
Drelease-2.5.md33 by markdown.
37 html = markdown.markdown(text, same_mode=True)
42 html = bleach.clean(markdown.markdown(text))
48 from markdown.extensions import Extension
55 html = markdown.markdown(text, extensions=[EscapeHtml()])
63 * Positional arguments on the `markdown.Markdown()` are pending deprecation as are
64 all except the `text` argument on the `markdown.markdown()` wrapper function.
68 html = markdown.markdown(text, ['extra'])
72 html = markdown.markdown(text, extensions=['extra'])
89 markdown.markdown(text, extensions=['extra'])
[all …]
Drelease-2.6.md22 converted to HTML by markdown. In fact, [Bleach Whitelist] provides a curated
29 html = markdown.markdown(text, safe_mode=True)
37 html = bleach.clean(markdown.markdown(text), markdown_tags, markdown_attrs)
45 from markdown.extensions import Extension
52 html = markdown.markdown(text, extensions=[EscapeHtml()])
64 Positional arguments on the `markdown.Markdown()` class are deprecated as are
65 all except the `text` argument on the `markdown.markdown()` wrapper function.
71 html = markdown.markdown(text, [SomeExtension()])
77 html = markdown.markdown(text, extensions=[SomeExtension()])
98 markdown.markdown(text, extensions=['extra'])
[all …]
Drelease-3.0.md47 [Bleach]) after being converted to HTML by markdown. In fact, [Bleach Whitelist]
54 html = markdown.markdown(text, safe_mode=True)
62 html = bleach.clean(markdown.markdown(text), markdown_tags, markdown_attrs)
70 from markdown.extensions import Extension
77 html = markdown.markdown(text, extensions=[EscapeHtml()])
89 Positional arguments on the `markdown.Markdown()` class are deprecated as are
90 all except the `text` argument on the `markdown.markdown()` wrapper function.
95 html = markdown.markdown(text, [SomeExtension()])
101 html = markdown.markdown(text, extensions=[SomeExtension()])
147 statements accordingly (`from markdown.extensions.toc import slugify, unique`).
[all …]
/external/markdown/tests/test_syntax/extensions/
Dtest_fenced_code.py22 from markdown.test_tools import TestCase
23 import markdown
24 import markdown.extensions.codehilite
358 extensions=[markdown.extensions.fenced_code.FencedCodeExtension(lang_prefix='')]
376 extensions=[markdown.extensions.fenced_code.FencedCodeExtension(lang_prefix='lang-')]
429 markdown.extensions.codehilite.CodeHiliteExtension(linenums=None, guess_lang=False),
465 markdown.extensions.codehilite.CodeHiliteExtension(linenums=None, guess_lang=False),
500 markdown.extensions.codehilite.CodeHiliteExtension(linenums=None, guess_lang=False),
521 markdown.extensions.codehilite.CodeHiliteExtension(use_pygments=False),
552 markdown.extensions.codehilite.CodeHiliteExtension(),
[all …]
/external/dokka/core/testdata/format/website/dataTags/
Dmultiplatform.package.md14 <tr data-platform="JVM" data-jre-version="JRE7"><td markdown="1">
17 <td markdown="1">
21 </tr><tr data-platform="JVM" data-kotlin-version="Kotlin 1.1" data-jre-version="JRE7"><td markdown=…
24 <td markdown="1">
28 </tr><tr data-platform="JS"><td markdown="1">
31 <td markdown="1">
35 </tr><tr data-platform="JS" data-kotlin-version="Kotlin 1.1"><td markdown="1">
38 <td markdown="1">
42 </tr><tr data-platform="JVM"><td markdown="1">
45 <td markdown="1">
[all …]
/external/markdown/
DREADME.md11 [build-button]: https://github.com/Python-Markdown/markdown/workflows/CI/badge.svg?event=push
12 [build]: https://github.com/Python-Markdown/markdown/actions?query=workflow%3ACI+event%3Apush
13 [codecov-button]: https://codecov.io/gh/Python-Markdown/markdown/branch/master/graph/badge.svg
14 [codecov]: https://codecov.io/gh/Python-Markdown/markdown
21 [Code of Conduct]: https://github.com/Python-Markdown/markdown/blob/master/CODE_OF_CONDUCT.md
30 [Markdown]: https://daringfireball.net/projects/markdown/
38 pip install markdown
41 import markdown
42 html = markdown.markdown(your_text_string)
48 [installation]: https://python-markdown.github.io/install/
[all …]
Dmakefile43 coverage run --source=markdown -m unittest discover tests
51 rm -f markdown/*.pyc
52 rm -f markdown/extensions/*.pyc
54 rm -f markdown/*.bak
55 rm -f markdown/extensions/*.bak
57 rm -f markdown/*.swp
58 rm -f markdown/extensions/*.swp
/external/google-styleguide/docguide/
Dstyle.md32 1. [Use informative Markdown link titles](#use-informative-markdown-link-titles)
35 1. [Strongly prefer Markdown to HTML](#strongly-prefer-markdown-to-html)
41 ```markdown
72 …[`[TOC]` documentation](https://gerrit.googlesource.com/gitiles/+/master/Documentation/markdown.md…
85 ```markdown
90 …et. See the [foo docs](https://gerrit.googlesource.com/gitiles/+/master/Documentation/markdown.md).
96 ```markdown
98 [foo docs](https://gerrit.googlesource.com/gitiles/+/master/Documentation/markdown.md)
118 ```markdown
126 ```markdown
[all …]
/external/dokka/core/testdata/format/website/dataTagsInGroupNode/
Dmultiplatform.package.md14 <tr data-platform="JS"><td markdown="1">
17 <td markdown="1">
21 </tr><tr data-platform="JVM"><td markdown="1">
24 <td markdown="1">
35 <tr data-platform="JVM"><td markdown="1">
38 <td markdown="1">

12345678910>>...12