Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
markup.py File Reference

Go to the source code of this file.

Data Structures

class  Tag
 

Namespaces

namespace  pip
 
namespace  pip._vendor
 
namespace  pip._vendor.rich
 
namespace  pip._vendor.rich.markup
 

Functions

str escape (str markup, _EscapeSubMethod _escape=re.compile(r"(\\*)(\[[a-z#/@][^[]*?])").sub)
 
Iterable[Tuple[int, Optional[str], Optional[Tag]]] _parse (str markup)
 
Text render (str markup, Union[str, Style] style="", bool emoji=True, Optional[EmojiVariant] emoji_variant=None)
 

Variables

 RE_TAGS
 
 RE_HANDLER = re.compile(r"^([\w.]*?)(\‍(.*?\‍))?$")
 
 _ReStringMatch = Match[str]
 
 _ReSubCallable = Callable[[_ReStringMatch], str]
 
 _EscapeSubMethod = Callable[[_ReSubCallable, str], str]
 
list MARKUP
 
 grid = Table("Markup", "Result", padding=(0, 1))