mirror of
https://github.com/LucBerge/yt-dlp.git
synced 2025-03-17 19:57:52 +03:00
[cleanup] Add keyword automatically to SearchIE descriptions
and some minor cleanup of docs
This commit is contained in:
parent
ec11a9f4a2
commit
96565c7e55
14 changed files with 78 additions and 71 deletions
|
@ -31,6 +31,11 @@ _TEXT_STYLES = {
|
|||
|
||||
|
||||
def format_text(text, f):
|
||||
'''
|
||||
@param f String representation of formatting to apply in the form:
|
||||
[style] [light] font_color [on [light] bg_color]
|
||||
Eg: "red", "bold green on light blue"
|
||||
'''
|
||||
f = f.upper()
|
||||
tokens = f.strip().split()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue