Filters can be used to create links automatically in your course content, which is a really great functionality, but too many links can distract the student or they can be annoying or confusing.
In the following example, I did't really create the links in the text editor, just let the system does its job.
Sometimes the built-in question types are not good enough to create a complex question. In this case your best option is to use the Embedded answers (Close) questions.
Embedded answers (Cloze) questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and numerical answers.
The size of INPUT HTML ELEMENT ( Short and Numerical) will be adjustable to the length of the longest answer (good or bad) + a random number (0 to 15% total length).
In this case the size of the input box can help your students to find the right answer easier. See the image below: