texthelper: text manipulations¶
diacritics¶
pyquickhelper.texthelper.remove_diacritics
(input_str)
Removes diacritics.
documentation¶
pyquickhelper.texthelper.add_rst_links
(text, values, tag = ‘epkg’, n = 4)
Replaces words by something like
:epkg:'word'
.
pyquickhelper.texthelper.html_helper.html_in_frame
(htext, style = ‘width:100%;height:100%;’)
Inserts HTML text into a frame in binary format.
templating¶
pyquickhelper.texthelper.apply_template
(text, context, engine = ‘mako’)
style¶
pyquickhelper.texthelper.change_style
(name)
Switches from AaBb into aa_bb.
versioning¶
pyquickhelper.texthelper.compare_module_version
(num, vers)
Compares two versions.