[gtk/css-text-transform: 3/3] Add an example for text transforms




commit 9443166210eda81cff86c52c00c527d30aafe5e8
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 22 12:17:32 2021 -0400

    Add an example for text transforms
    
    Show some transformed text in the markup demo.

 demos/gtk-demo/markup.txt | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/demos/gtk-demo/markup.txt b/demos/gtk-demo/markup.txt
index 79b857f295..7abefc4c7a 100644
--- a/demos/gtk-demo/markup.txt
+++ b/demos/gtk-demo/markup.txt
@@ -18,3 +18,5 @@ Shortcuts: <tt>Monospace</tt> – <b>Bold</b> – <i>Italic</i> – <big>Big</bi
 <span allow_breaks="false">A</span> hy­phen­ation al­go­rithm is a set of rules, espe­ci­ally one co­di­fied 
for im­ple­men­tation in a com­pu­ter pro­gram, that de­ci­des at which points a word can be bro­ken over two 
lines with a hy­phen. For ex­am­ple, a hy­phen­ation al­go­rithm might de­cide that im­peach­ment can be 
broken as <span allow_breaks="false">impeach‧ment</span> or <span allow_breaks="false">im‧peachment</span> 
but not <span allow_breaks="false">impe‧achment.</span>
 
 <span insert_hyphens="false">one/two three/four five/six seven/eight nine/ten</span>
+
+Transforms: <span text_transform='uppercase'>straße</span> <span text_transform='capitalize'>up, up and 
away</span>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]