[gtk/css-text-transform: 3/3] Add an example for text transforms
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/css-text-transform: 3/3] Add an example for text transforms
- Date: Sun, 22 Aug 2021 16:18:16 +0000 (UTC)
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> hyphenation algorithm is a set of rules, especially one codified
for implementation in a computer program, that decides at which points a word can be broken over two
lines with a hyphen. For example, a hyphenation algorithm might decide that impeachment 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]