Markup Training: Definitions
« Back
One way to enhance a discussion is to use the Definition markup code.
Using this code you can easily provide your readers with the definition of a word without cluttering up your text. When this code is used, readers will be able to click a word to read a definition of the word that you've provided.
To see an example, the underlined word in this sentence (" ").
This code is a little more complicated than the others, but still fairly simple.
Here is the pattern for this code:
[def:here is the definition ] word [/def]
Here is the result:
If you click or tap "word" above, you'll notice a popup that shows the text "here is the definition".
Let's break down this code piece by piece.
This gets easier and more intuitive with practice. Here are a couple more examples so you can catch on:
Just be careful you don't add any extra spaces before or around your definition markup to make sure it is displayed correctly.
Next »
Tutorial Pg. #4 of 6
One way to enhance a discussion is to use the Definition markup code.
Using this code you can easily provide your readers with the definition of a word without cluttering up your text. When this code is used, readers will be able to click a word to read a definition of the word that you've provided.
To see an example, the underlined word in this sentence (" ").
This code is a little more complicated than the others, but still fairly simple.
Here is the pattern for this code:
[def:here is the definition ] word [/def]
Here is the result:
If you click or tap "word" above, you'll notice a popup that shows the text "here is the definition".
Let's break down this code piece by piece.
- To start, the code begins with "[def:" -- (without the quotes) this tells the program that a definition is coming.
- After the colon, you enter the definition of the word in English, whatever that might be.
- After the definition, you type an ending "]" brack symbol -- this signifies the end of the English definition.
- Next, type the word that you are defining. In our case, this typically would be a Filipino word.
- Lastly, type "[/def]" -- this indicates that the definition markup code has ended.
This gets easier and more intuitive with practice. Here are a couple more examples so you can catch on:
Code:
Gusto ko ng [def:apple]mansanas[/def]Result:
Gusto ko ng Code:
[def:cold]Malamig[/def] ang tubigResult:
ang tubigCode:
[def:How are you?]Kumusta ka?[/def]Result:
Code:
[def:no, not, don't]Hindi[/def] [def:I]ko[/def] [def:know]alam[/def].Result:
.Just be careful you don't add any extra spaces before or around your definition markup to make sure it is displayed correctly.
Try it out!
Use the definition markup to give the definition of "dog" to the word "aso" below. Make sure you take out any extra spaces in your code to make it work properly.
Use the definition markup to give the definition of "dog" to the word "aso" below. Make sure you take out any extra spaces in your code to make it work properly.
Next »