MCPcopy Create free account

hub / github.com/an0/Letterpress / functions

Functions425 in github.com/an0/Letterpress

↓ 23 callersMethodappendChild
(self, child)
code/markdown2/test/markdown.py:264
↓ 19 callersFunctionformat
(template, **kwargs)
code/letterpress.py:60
↓ 18 callersMethodcreateElement
(self, tag, textNode=None)
code/markdown2/test/markdown.py:158
↓ 17 callersMethodcreateTextNode
(self, text)
code/markdown2/test/markdown.py:165
↓ 16 callersMethodsetAttribute
(self, attr, value)
code/markdown2/test/markdown.py:246
↓ 14 callersMethodhashPart
($text, $boundary = 'X')
code/markdown2/test/markdown.php:477
↓ 10 callersFunction_hash_text
(s)
code/markdown2/lib/markdown2.py:146
↓ 9 callersFunction_display
Markup the given string for useful display.
code/markdown2/test/test_markdown2.py:350
↓ 9 callersMethodrunSpanGamut
($text)
code/markdown2/test/markdown.php:594
↓ 7 callersMethod_processSection
Process a section of a source document, looking for high level structural elements like lists, block quotes, code segments, html
code/markdown2/test/markdown.py:1213
↓ 7 callersMethodhashBlock
($text)
code/markdown2/test/markdown.php:500
↓ 7 callersFunctionrun
Run the given command. Raises OSError is the command returns a non-zero exit status.
code/markdown2/tools/cutarelease.py:504
↓ 6 callersMethod_assertMarkdown
Assert that markdown2.py produces the expected HTML.
code/markdown2/test/test_markdown2.py:96
↓ 6 callersMethod_html_class_str_from_tag
Get the appropriate ' class="..."' string (note the leading space), if any, for the given tag.
code/markdown2/lib/markdown2.py:1670
↓ 6 callersMethod_normname
(self, name)
code/markdown2/test/testlib.py:210
↓ 6 callersMethod_run_span_gamut
(self, text)
code/markdown2/lib/markdown2.py:988
↓ 6 callersMethodencodeAmpsAndAngles
($text)
code/markdown2/test/markdown.php:1216
↓ 6 callersFunctionnorm_html_from_html
Normalize (somewhat) Markdown'd HTML. Part of Markdown'ing involves obfuscating email links with randomize encoding. Undo that obfuscation.
code/markdown2/test/test_markdown2.py:333
↓ 5 callersMethodconvert
Convert the given text.
code/markdown2/lib/markdown2.py:266
↓ 5 callersMethodshortname
(self)
code/markdown2/test/testlib.py:164
↓ 4 callersFunction_dedent
_dedent(text, tabsize=8, skip_first_line=False) -> dedented text "text" is the text to dedent. "tabsize" is the tab width to use for
code/markdown2/test/test_markdown2.py:445
↓ 4 callersFunction_indent
_indent(s, [width=4]) -> 's' indented by 'width' spaces The optional "skip_first_line" argument is a boolean (default False) indicating if th
code/markdown2/test/test_markdown2.py:461
↓ 4 callersMethod_run_block_gamut
(self, text)
code/markdown2/lib/markdown2.py:819
↓ 4 callersMethodbuild_index
(self, templates_dir)
code/letterpress.py:232
↓ 4 callersMethodexplicit_tags
(self)
code/markdown2/test/testlib.py:183
↓ 4 callersMethodgenerate_tests
Add test methods to this class for each test file in `cls.cases_dir'.
code/markdown2/test/test_markdown2.py:174
↓ 4 callersFunctionmessage
(level, text)
code/markdown2/test/markdown.py:39
↓ 4 callersFunctionquery_yes_no
Ask a yes/no question via raw_input() and return their answer. "question" is a string that is presented to the user. "default" is the presume
code/markdown2/tools/cutarelease.py:461
↓ 4 callersMethodstore
Saves an HTML segment for later reinsertion. Returns a placeholder string that needs to be inserted into the document.
code/markdown2/test/markdown.py:900
↓ 3 callersFunction_cull
Cull inappropriate matches. Possible reasons: - a duplicate of a previous match - not a disk file - not executable (non-Window
code/markdown2/tools/which.py:113
↓ 3 callersMethod_do_fenced_code_blocks
Process ```-fenced unindented code blocks ('fenced-code-blocks' extra).
code/markdown2/lib/markdown2.py:1713
↓ 3 callersMethod_do_lists
(self, text)
code/markdown2/lib/markdown2.py:1482
↓ 3 callersMethod_encode_code
Encode/escape certain characters inside Markdown code runs. The point is that in code, these characters are literals, and lose their s
code/markdown2/lib/markdown2.py:1765
↓ 3 callersMethod_get_right_tag
(self, left_tag, block)
code/markdown2/test/markdown.py:487
↓ 3 callersMethod_handleInlineWrapper
(self, line)
code/markdown2/test/markdown.py:1480
↓ 3 callersMethod_outdent
(self, text)
code/markdown2/lib/markdown2.py:2076
↓ 3 callersMethod_sanitize_html
(self, s)
code/markdown2/lib/markdown2.py:1112
↓ 3 callersMethod_unescape_special_chars
(self, text)
code/markdown2/lib/markdown2.py:2070
↓ 3 callersFunction_version_info_from_version
(version)
code/markdown2/tools/cutarelease.py:282
↓ 3 callersFunction_xml_escape_attr
Escape the given string for use in an HTML/XML tag attribute. By default this doesn't bother with escaping `'` to `'`, presuming that the
code/markdown2/lib/markdown2.py:2347
↓ 3 callersFunctionbuild_site
()
code/letterpress.py:747
↓ 3 callersFunctioncreate_complete_archive
(monthly_archives)
code/letterpress.py:693
↓ 3 callersFunctioncreate_monthly_archives
(posts)
code/letterpress.py:621
↓ 3 callersFunctioncreate_rss_feed
(posts)
code/letterpress.py:729
↓ 3 callersFunctioncreate_tags
(posts)
code/letterpress.py:553
↓ 3 callersFunctioncreate_timeline_archives
(posts)
code/letterpress.py:598
↓ 3 callersFunctioncreate_yearly_archives
(monthly_archives)
code/letterpress.py:657
↓ 3 callersMethodinsertChild
(self, position, child)
code/markdown2/test/markdown.py:252
↓ 3 callersMethodrun
(self, lines)
code/markdown2/test/markdown.py:445
↓ 3 callersFunctiontime_markdown2_py
(cases_dir, repeat)
code/markdown2/perf/perf.py:54
↓ 3 callersMethodtoxml
(self)
code/markdown2/test/markdown.py:212
↓ 3 callersFunctiontriplepwise
s -> (s0,s1,s2, (s1,s2,s3), (s2,s3,s4), ...
code/letterpress.py:432
↓ 3 callersFunctionwhichgen
Return a generator of full paths to the given command. "command" is a the name of the executable to search for. "path" is an optional alt
code/markdown2/tools/which.py:142
↓ 2 callersFunctionMarkdown
($text)
code/markdown2/test/markdown.php:43
↓ 2 callersMethod__init__
(self, text)
code/markdown2/test/markdown.py:206
↓ 2 callersMethod_applyPattern
Given a pattern name, this function checks if the line fits the pattern, creates the necessary elements, and returns back a list cons
code/markdown2/test/markdown.py:1530
↓ 2 callersFunction_dedentlines
_dedentlines(lines, tabsize=8, skip_first_line=False) -> dedented lines "lines" is a list of lines to dedent. "tabsize" is the tab wi
code/markdown2/lib/markdown2.py:2195
↓ 2 callersFunction_dedentlines
_dedentlines(lines, tabsize=8, skip_first_line=False) -> dedented lines "lines" is a list of lines to dedent. "tabsize" is the ta
code/markdown2/perf/gen_perf_cases.py:183
↓ 2 callersMethod_detab
r"""Remove (leading?) tabs from a file. >>> m = Markdown() >>> m._detab("\tfoo") ' foo' >>> m._det
code/markdown2/lib/markdown2.py:534
↓ 2 callersMethod_encode_amps_and_angles
(self, text)
code/markdown2/lib/markdown2.py:1976
↓ 2 callersMethod_equal_tags
(self, left_tag, right_tag)
code/markdown2/test/markdown.py:490
↓ 2 callersFunction_escaped_text_from_text
r"""Return escaped version of text. "escapes" is either a mapping of chars in the source text to replacement text for each such c
code/markdown2/test/test_markdown2.py:476
↓ 2 callersMethod_find_balanced
Returns the index where the open_c and close_c characters balance out - the same number of open_c and close_c are encountered - or the
code/markdown2/lib/markdown2.py:1157
↓ 2 callersMethod_flatten_tags
Split tags with '/' in them into multiple tags. '/' is the reserved tag separator and allowing tags with embedded '/' results
code/markdown2/test/testlib.py:171
↓ 2 callersMethod_hash_html_blocks
Hashify HTML blocks We only want to do this for block-level HTML tags, such as headers, lists, and tables. That's because we still wa
code/markdown2/lib/markdown2.py:614
↓ 2 callersFunction_indent
_indent(s, [width=4]) -> 's' indented by 'width' spaces The optional "skip_first_line" argument is a boolean (default False) indicating if th
code/markdown2/test/testlib.py:581
↓ 2 callersMethod_linesUntil
A utility function to break a list of lines upon the first line that satisfied a condition. The condition argument should be
code/markdown2/test/markdown.py:1410
↓ 2 callersFunction_markdown_from_aspn_html
(html)
code/markdown2/perf/gen_perf_cases.py:72
↓ 2 callersMethod_processList
Given a list of document lines starting with a list item, finds the end of the list, breaks it up, and recursively processes eac
code/markdown2/test/markdown.py:1325
↓ 2 callersFunction_version_from_version_info
(version_info)
code/markdown2/tools/cutarelease.py:264
↓ 2 callersFunctioncreate_post
(file_path)
code/letterpress.py:537
↓ 2 callersFunctiondequote
Removes quotes from around a string
code/markdown2/test/markdown.py:995
↓ 2 callersMethoddoc
(self)
code/markdown2/test/testlib.py:207
↓ 2 callersMethodfind
Returns a list of descendants that pass the test function
code/markdown2/test/markdown.py:271
↓ 2 callersMethodgetDescription
(self, test)
code/markdown2/test/testlib.py:482
↓ 2 callersMethodhandleAttributes
(self)
code/markdown2/test/markdown.py:209
↓ 2 callersMethodhashHTMLBlocks
($text)
code/markdown2/test/markdown.php:332
↓ 2 callersMethodimplicit_tags
(self)
code/markdown2/test/testlib.py:193
↓ 2 callersMethodnormalizeEntities
(self, text, avoidDoubleNormalizing=False)
code/markdown2/test/markdown.py:183
↓ 2 callersMethodprintErrorList
(self, flavour, errors)
code/markdown2/test/testlib.py:519
↓ 2 callersFunctionread_config
()
code/letterpress.py:506
↓ 2 callersMethodremoveChild
(self, child)
code/markdown2/test/markdown.py:256
↓ 2 callersMethodreset
(self)
code/markdown2/lib/markdown2.py:245
↓ 2 callersFunctionreversed
(sequence)
code/markdown2/lib/markdown2.py:118
↓ 2 callersMethodrunBlockGamut
($text)
code/markdown2/test/markdown.php:521
↓ 2 callersMethodtags
(self)
code/markdown2/test/testlib.py:205
↓ 2 callersFunctiontest
(testdir_from_ns, tags=[], setup_func=None)
code/markdown2/test/testlib.py:382
↓ 2 callersFunctiontests_from_manifest_and_tags
(testdir_from_ns, tags)
code/markdown2/test/testlib.py:356
↓ 2 callersFunctiontime_markdown_pl
(cases_dir, repeat)
code/markdown2/perf/perf.py:71
↓ 2 callersFunctiontime_markdown_py
(cases_dir, repeat)
code/markdown2/perf/perf.py:29
↓ 1 callersMethodTextileThis
($text, $lite='', $encode='')
code/markdown2/test/markdown.php:171
↓ 1 callersMethod__init__
(self, ns, testmod, testcase, testfn_name, testsuite_class=None)
code/markdown2/test/testlib.py:148
↓ 1 callersMethod_add_footnotes
(self, text)
code/markdown2/lib/markdown2.py:1942
↓ 1 callersMethod_assertMarkdownPath
(self, text_path, encoding="utf-8", opts=None, toc_html_path=None, metadata_path=None)
code/markdown2/test/test_markdown2.py:80
↓ 1 callersFunction_capture_stdout
(argv)
code/markdown2/tools/cutarelease.py:494
↓ 1 callersMethod_code_block_sub
(self, match, is_fenced_code_block=False)
code/markdown2/lib/markdown2.py:1623
↓ 1 callersMethod_color_with_pygments
(self, code, lexer)
code/letterpress.py:198
↓ 1 callersMethod_color_with_pygments
(self, codeblock, lexer, **formatter_opts)
code/markdown2/lib/markdown2.py:1601
↓ 1 callersFunction_curry
(*args, **kwargs)
code/markdown2/lib/markdown2.py:2157
↓ 1 callersFunction_dedent
_dedent(text, tabsize=8, skip_first_line=False) -> dedented text "text" is the text to dedent. "tabsize" is the tab width to use for
code/markdown2/lib/markdown2.py:2265
next →1–100 of 425, ranked by callers