Auto-linking: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
mIngen redigeringssammanfattning
mIngen redigeringssammanfattning
Rad 4: Rad 4:


To force autolinking on/off, use:
To force autolinking on/off, use:
* <nowiki><span class="nolink">text</span></nowiki>
* <nowiki><span class="link">text</span></nowiki>
* <nowiki><span class="nolink">text</span></nowiki>
* <nowiki><span class="nolink">text</span></nowiki>


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

Versionen från 2 september 2009 kl. 03.27

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.

To force autolinking on/off, use:

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