Auto-linking: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
mIngen redigeringssammanfattning
(==See also== * HTML linking)
Rad 7: Rad 7:
* <nowiki><span class="link">text</span></nowiki>
* <nowiki><span class="link">text</span></nowiki>
* <nowiki><span class="nolink">text</span></nowiki>
* <nowiki><span class="nolink">text</span></nowiki>
==See also==
* [[HTML linking]]


[[Category:{{PAGENAME}}]]
[[Category:{{PAGENAME}}]]

Versionen från 2 september 2009 kl. 03.58

glossary autolinking.png

Auto-linking is a feature of Moodle by which words or phrases used within a Moodle site are automatically linked (by highlighting in grey by default) if there is a content page (or resource or activity) within the site with the same name.

Autolinking can be globally switched on/off in a site's settings, and specific links can be prevented by adding <nolink> ... </nolink> tags around the relevant content in HTML markup mode.

Another way to force autolinking on/off is to use:

  • <span class="link">text</span>
  • <span class="nolink">text</span>

See also