Hinweis: Sie sind auf den Seiten der Moodle 3.1 Dokumentation. Die Dokumentation der aktuellsten Moodle-Version finden Sie hier: Text formatieren.

Text formatieren: Unterschied zwischen den Versionen

Aus MoodleDocs
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „{{Text editieren}} {{Zum Übersetzen}} When writing text in Moodle there are several formats you can choose to produce your text. ==Formatting text options== …“)
 
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
{{Zum Übersetzen}}
{{Zum Übersetzen}}


When writing text in Moodle there are several formats you can choose to produce your text.
Wenn Sie Texte in Moodle schreiben, können Sie zwischen verschiedenen Formatierungen wählen.


==Formatting text options==
==Formatierungen==
Standardmäßig ist der [[Text-Editor]] in allen Text(eingabe)bereichen von Moodle aktiviert und automatisch auf HTML-Format gesetzt.


By default, the [[Text editor]] is available for all text areas in Moodle and the format is automatically set to HTML format.
Diese Einstellung können Sie in Ihrem Nutzerprofil ändern.
*Klicken Sie im Block ''[[Einstellungen-Block|Einstellungen]] > Mein Profil > Profil bearbeiten''.
*Setzen Sie die Einstellung ''Texte bearbeiten'' auf ''Standard-Web-Formulare benutzen''.


However, if the setting 'When editing text' in ''Settings > My profile settings > Edit profile'' is set to 'Use standard web forms', then various format options are available in a dropdown menu below the text area.
Dann erscheint unterhalb eines Text(eingabe)bereichs ein Auswahlmenü mit verschiedenen Formatierungen:


[[File:Format dropdown.png]]
[[File:Formatierungen.jpg]]


==HTML format==
==HTML-Format==


When writing HTML in Moodle, you are free to use almost any HTML tags you like to produce the effect you want.
Wenn Sie innerhalb von Moodle HTML-Code schreiben, dann können Sie fast alle HTML-Elemente verwenden. Beachten Sie, dass die Verwendung von Javascript oder VB Script nicht erlaubt ist und automatisch entfernt wird.


Note that scripting (eg Javascript or VB Script) is not allowed, and will be removed automatically.
Ihr Code wird normalerweise innerhalb einer Tabellenzelle ausgegeben. Das bedeutet:
* Sie müssen keine <HEAD>- oder <BODY>-Elemente verwenden,
* Seien Sie sorgfältig im Umgang mit <TABLE>- und </TABLE>-Elemente. Diese müssen immer paarweise und bei Verschachtelungen in passender Reihenfolge verwendet werden, andernfalls kann es zu falschen Ausgaben kommen.  


Your code will normally be printed on the page within a table cell, so:
Alles, was mit <code>www.</code> oder <cide>http://</code> beginnt, wird automatisch in einen anklickbaren Hyperlink umgewandelt (vorausgesetzt, die Moodle-Adminisstration hat auf der Seite ''[[Einstellungen-Block|Einstellungen]] > Website-Administration > Plugins > Filter > Übersicht'' den Filter ''URL als Link oder Bild anzeigen'' aktiviert).


* There is no need to use any <HEAD> or <BODY> tags
Das HTML-Format interpretiert Ihre Eingabe als reines HTML. Wenn Sie den [[Text-Editor]] verwenden, ist das HTML-Format das voreingestellte Standardformat.
* Be careful about unmatched </TABLE> tags that may mess up the display.  


Anything starting with www. or http:// will automatically be turned into a clickable link, for example [http://www.moodle.org www.moodle.org] (assuming the [[Convert URLs into links filter]] is enabled by an administrator).
==Moodle-Text-Format==
 
This format assumes the text is pure HTML. If you are using the text editor to edit text then this is the default format - all the commands in the toolbar are producing HTML for you.
 
Even if you are not using the text editor, you can use HTML code in your text and it should come out exactly as you intended.
 
==Moodle auto-format==


This format is best for when you are using normal web forms for entry (instead of using the text editor). Just type text normally, as if you were sending an email.
This format is best for when you are using normal web forms for entry (instead of using the text editor). Just type text normally, as if you were sending an email.
Zeile 48: Zeile 46:
[[Image:Html tags.png]]
[[Image:Html tags.png]]


==Plain text format==
==Reines Text-Format==


This format is useful when you need to include lots of code or HTML that you want to be displayed exactly as you wrote it.
This format is useful when you need to include lots of code or HTML that you want to be displayed exactly as you wrote it.
Zeile 54: Zeile 52:
It still translates spaces and new lines, but otherwise your text isn't touched.
It still translates spaces and new lines, but otherwise your text isn't touched.


==Markdown text format==
==Markdown-Format==


[[Markdown]] format tries to make it easy as possible to type well-formatted XHTML pages using nothing but text written more or less like you would write an email.
[[Markdown]] format tries to make it easy as possible to type well-formatted XHTML pages using nothing but text written more or less like you would write an email.
Zeile 64: Zeile 62:
For complete syntax description, see: http://daringfireball.net/projects/markdown/syntax Moodle 1.6 has extended features called Markdown Extra: for ''additional'' features see http://www.michelf.com/projects/php-markdown/extra/
For complete syntax description, see: http://daringfireball.net/projects/markdown/syntax Moodle 1.6 has extended features called Markdown Extra: for ''additional'' features see http://www.michelf.com/projects/php-markdown/extra/


==Tips and Tricks==
==Tipps und Tricks==
* ''Wrong Characters Showing'' - If some users do not see the same characters or figures, have them check their browser settings for their character settings.  At Moodle.org, the recommended default character decoding set is UTF-8.  On a Firefox browser, this can be found in Tools>Options>Fonts & colors>advanced>default character decoding pull down menu.
* ''Wrong Characters Showing'' - If some users do not see the same characters or figures, have them check their browser settings for their character settings.  At Moodle.org, the recommended default character decoding set is UTF-8.  On a Firefox browser, this can be found in Tools>Options>Fonts & colors>advanced>default character decoding pull down menu.



Version vom 27. Januar 2012, 20:05 Uhr


Baustelle.png Diese Seite ist noch nicht vollständig übersetzt.


Wenn Sie Texte in Moodle schreiben, können Sie zwischen verschiedenen Formatierungen wählen.

Formatierungen

Standardmäßig ist der Text-Editor in allen Text(eingabe)bereichen von Moodle aktiviert und automatisch auf HTML-Format gesetzt.

Diese Einstellung können Sie in Ihrem Nutzerprofil ändern.

  • Klicken Sie im Block Einstellungen > Mein Profil > Profil bearbeiten.
  • Setzen Sie die Einstellung Texte bearbeiten auf Standard-Web-Formulare benutzen.

Dann erscheint unterhalb eines Text(eingabe)bereichs ein Auswahlmenü mit verschiedenen Formatierungen:

Datei:Formatierungen.jpg

HTML-Format

Wenn Sie innerhalb von Moodle HTML-Code schreiben, dann können Sie fast alle HTML-Elemente verwenden. Beachten Sie, dass die Verwendung von Javascript oder VB Script nicht erlaubt ist und automatisch entfernt wird.

Ihr Code wird normalerweise innerhalb einer Tabellenzelle ausgegeben. Das bedeutet:

  • Sie müssen keine <HEAD>- oder <BODY>-Elemente verwenden,
  • Seien Sie sorgfältig im Umgang mit - und
    -Elemente. Diese müssen immer paarweise und bei Verschachtelungen in passender Reihenfolge verwendet werden, andernfalls kann es zu falschen Ausgaben kommen.

Alles, was mit www. oder <cide>http:// beginnt, wird automatisch in einen anklickbaren Hyperlink umgewandelt (vorausgesetzt, die Moodle-Adminisstration hat auf der Seite Einstellungen > Website-Administration > Plugins > Filter > Übersicht den Filter URL als Link oder Bild anzeigen aktiviert).

Das HTML-Format interpretiert Ihre Eingabe als reines HTML. Wenn Sie den Text-Editor verwenden, ist das HTML-Format das voreingestellte Standardformat.

Moodle-Text-Format

This format is best for when you are using normal web forms for entry (instead of using the text editor). Just type text normally, as if you were sending an email.

When you save your text, Moodle will do a number of things to automatically format your text for you.

As for HTML format, websites will automatically be turned into a clickable link (assuming the Convert URLs into links filter is enabled by an administrator).

Smiley characters such as :-) will automatically become their graphical equivalents (assuming the Display emoticons as images filter is enabled by an administrator).

Datei:Smilies.png

Your line breaks will be retained, and blank lines will start new paragraphs.

You can even embed HTML code if you want to and it will be retained.

Html tags.png

Reines Text-Format

This format is useful when you need to include lots of code or HTML that you want to be displayed exactly as you wrote it.

It still translates spaces and new lines, but otherwise your text isn't touched.

Markdown-Format

Markdown format tries to make it easy as possible to type well-formatted XHTML pages using nothing but text written more or less like you would write an email.

It's very good for writing clean text pages with some headings and some lists but without many links or images. It is an excellent choice when accessibility of the generated page is important.

An unordered list may be created with asterisks (*).

For complete syntax description, see: http://daringfireball.net/projects/markdown/syntax Moodle 1.6 has extended features called Markdown Extra: for additional features see http://www.michelf.com/projects/php-markdown/extra/

Tipps und Tricks

  • Wrong Characters Showing - If some users do not see the same characters or figures, have them check their browser settings for their character settings. At Moodle.org, the recommended default character decoding set is UTF-8. On a Firefox browser, this can be found in Tools>Options>Fonts & colors>advanced>default character decoding pull down menu.

If that doesn't work you can try installing a UTF-8 Unicode font from: http://titus.fkidg1.uni-frankfurt.de/unicode/tituut.asp. (This has at least helped XP users that weren't seeing stars in the ratings.)