Skip to main content

Made to format strings for kivy/kivymd (MIT)

Project description

TwitterFacebookInstagramYouTubeWhatsAppWWWPinterestE-Mail


string2markup

Made to format strings for kivy/kivymd (MIT)
Just download use

pip install string2markup
from string2markup import S2M
print(S2M('haddd').b.u.color((255,255,255,255)))
print(S2M('haddd').b.u.color((255,255,255)))
print(S2M('haddd').b.u.color((1,1,1)))
print(S2M('haddd').b.u.color('#ffffff').sub.s.size(12))

output:
[color=#ffffff][u][b]haddd[/b][/u][/color]
[color=#ffffff][u][b]haddd[/b][/u][/color]
[color=#ffffff][u][b]haddd[/b][/u][/color]
[size=12][s][sub][color=#ffffff][u][b]haddd[/b][/u][/color][/sub][/s][/size]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

string2markup-0.0.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

string2markup-0.0.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page