API
Module holding the base class that comoputes the mask for plain text documents.
DegrotesqueTextMarker
Bases: DegrotesqueMarker
A class that returns the mask for plain text.
Only links are masked out, everything else can be changed.
get_extensions()
Returns the extensions of file types that can be processed using this marker.
| Returns: |
|
|---|
get_mask(document, to_skip=None)
Returns a string where all code and quotes are denoted as '1' and plain content as '0'.
| Parameters: |
|
|---|
| Returns: |
|
|---|