Autolinking: Difference between revisions
From MoodleDocs
James Neill (talk | contribs) mNo edit summary |
James Neill (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
Autolinking can be globally switched on/off in a site's settings, and specific links can be prevented by adding <nowiki><nolink> ... </nolink></nowiki> tags around the relevant content in HTML markup mode. | Autolinking can be globally switched on/off in a site's settings, and specific links can be prevented by adding <nowiki><nolink> ... </nolink></nowiki> tags around the relevant content in HTML markup mode. | ||
Another way to force autolinking on/off is to use: | |||
* <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> | ||
[[Category:{{PAGENAME}}]] | [[Category:{{PAGENAME}}]] |
Revision as of 03:31, 2 September 2009
Autolinking 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>