Text Styles
The following are a list of text styles inksplash provides.
Example
from inksplash import chameleon
print(chameleon.italic("Hello world"))
Note
The above code will print the text that will be italic.
The following is a list of available text styles that we can use on the chameleon object.
bold
Applies bold style to the text.
Parameters:
value(str): The input text.Returns:
str: The input text with bold style.
underline
Applies underline style to the text.
Parameters:
value(str): The input text.Returns:
str: The input text with underline style.
italic
Applies italic style to the text.
Parameters:
value(str): The input text.Returns:
str: The input text with italic style.
strikethrough
Applies strikethrough style to the text.
Parameters:
value(str): The input text.
Returns:
str: The input text with strikethrough style.