Jūs esate čia

Formatavimo pagalba

Teksto fomatai

Basic HTML

  • Web puslapių adresai ir el. pašto adresai automatiškai tampa nuorodomis.
  • Tags allowed: a, em, strong, u, s, cite, code, blockquote, ol, ul, li, dl, dt, dd, pre, p, br. HTML markup is restricted using the htmLawed filter to make input text more secure, and standard- and admin. policy-compliant. More details about the restrictions in effect may be available elsewhere, such as in the text of the filter-tips of text formats that use htmLawed and on the forms for configuring text formats.
  • Mathematics inside the configured delimiters is rendered by MathJax. The default math delimiters are $$...$$ and \[...\] for displayed mathematics, and $...$ and \(...\) for in-line mathematics.
  • Syntax highlight code surrounded by the <pre class="brush: lang">...</pre> tags, where lang is one of the following language brushes: php, python, r, sass, sql, vb. See the SyntaxHighlighter javascript library site for additional helps.
  • Linijos ir paragrafai atpažystami automatiškai <br /> linijos trūkis ir <p> paragrafas ir </p> paragrafo pabaigoje įterpiami automatiškai. Jei paragrafas neatsiranda tiesiog pridėkite keletą tusčių linijų.

Markdown

  • Syntax highlighting of source code can be enabled with the following tags:

    • Generic syntax highlighting tags: "<code>", "<blockcode>".
    • Language specific syntax highlighting tags: "<c>" for C source code, "<cpp>" for C++ source code, "<drupal5>" for Drupal 5 source code, "<drupal6>" for Drupal 6 source code, "<java>" for Java source code, "<javascript>" for Javascript source code, "<php>" for PHP source code, "<python>" for Python source code, "<r>" for R / S+ source code, "<ruby>" for Ruby source code.

    Options and tips:

    • The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language, class. The possible values are: "c" (for C), "cpp" (for C++), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "r" (for R / S+), "rsplus" (for R / S+), "ruby" (for Ruby).
    • The supported tag styles are: <foo>, [foo].
    • Line numbering can be enabled/disabled with the attribute "linenumbers". Possible values are: "off" for no line numbers, "normal" for normal line numbers and "fancy" for fancy line numbers (every nth line number highlighted). The start line number can be specified with the attribute "start", which implicitly enables normal line numbering. For fancy line numbering the interval for the highlighted line numbers can be specified with the attribute "fancy", which implicitly enables fancy line numbering.
    • If the source code between the tags contains a newline (e.g. immediatly after the opening tag), the highlighted source code will be displayed as a code block. Otherwise it will be displayed inline.
    • A title can be added to a code block with the attribute "title".

    Defaults:

    • Default highlighting mode for generic syntax highlighting tags: the default language used for syntax highlighting is "rsplus".
    • Default line numbering: fancy line numbers (every 5 lines).

    Examples:

    You typeYou get
    <code>foo = "bar";</code>Inline code with the default syntax highlighting mode.
    <code>
    foo = "bar";
    baz = "foz";
    </code>
    Code block with the default syntax highlighting mode.
    <code lang="rsplus" linenumbers="normal">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for R / S+ source code
    and normal line numbers.
    <code language="rsplus" start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for R / S+ source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.
    <c>
    foo = "bar";
    baz = "foz";
    </c>
    Code block with syntax highlighting for C source code.
    <c start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    <c>
    Code block with syntax highlighting for C source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • Typogrify.module brings the typographic refinements of Typogrify to Drupal.
    • Wraps ampersands (the “&” character) with <span class="amp">&</span>.
    • Prevents single words from wrapping onto their own line using Shaun Inman's Widont technique.
    • Converts straight quotation marks to typographer's quotation marks, using SmartyPants.
    • Wraps initial quotation marks with <span class="quo"></span> or <span class="dquo"></span>.
    • Converts multiple hyphens to en dashes and em dashes (according to your preferences), using SmartyPants.
    • Wraps multiple capital letters with <span class="caps">CAPS</span>.
    • Adds a css style sheet that uses the <span> tags to substitute a showy ampersand in headlines, switch caps to small caps, and hang initial quotation marks.
  • Mathematics inside the configured delimiters is rendered by MathJax. The default math delimiters are $$...$$ and \[...\] for displayed mathematics, and $...$ and \(...\) for in-line mathematics.

Plain text

  • HTML žymės neleidžiamos.
  • Web puslapių adresai ir el. pašto adresai automatiškai tampa nuorodomis.
  • Linijos ir paragrafai atpažystami automatiškai <br /> linijos trūkis ir <p> paragrafas ir </p> paragrafo pabaigoje įterpiami automatiškai. Jei paragrafas neatsiranda tiesiog pridėkite keletą tusčių linijų.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer