Markdown in expressions
I'd like to use markdown in expressions, specifically the pound to decrease text size.
My expression looks like = "Habitat: " + variable.property
__Habitat__ works to make text bold, but how do I use the pound in this example.
-
So I figured out that
= "##### " + variable... decreases font size, but also makes text bold. Is there a way to only decrease font size.
0 -
Hello there,
If you use six pound signs, "######", the font becomes slightly smaller. Markdown doesn't specifically support changing font size, but this syntax will provide the smallest font size styling.
Thanks, Stefan
0 -
Markdown using pound signs is technically for headings. Eg, ###### has 6x# and is <h6>.
If you're using the Geocortex HTML5 viewer, you could use custom css to change the formatting used for all <h6> headers within that viewer's workflow forms. For example, paste
.gcx-forms h6 { font-weight: normal; color: blue; font-size: 0.5em; }in
C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\SITENAME\Viewers\VIEWERNAME\VirtualDirectory\Resources\Styles\Custom\Desktop.css
I'm not certain if there is an equivalent in WAB.
1
Vous devez vous connecter pour laisser un commentaire.
Commentaires
3 commentaires