PmWikiPtBr / Regras de Formatação de Texto

Esta página fornece uma lista mais completa de comandos disponíveis no PmWiki. Observe que é simples criar e editar páginas sem usar qualquer comando de marcação, mas mesmo sem precisar deles eles continuam disponíveis.

Para experimentá-los, tente editar a página WikiSandBox.

Tabela de Conteúdo


Parágrafos

Para criar parágrafos, simplesmente digite o texto. Use uma linha em branco para começar um novo parágrafo.

Palavras em 2 linhas seguidas irão quebrar-se e preencher-se quando necessário (o comportamento normal de XHTML). Para desligar o preenchimento automático, use a diretiva (:quebrasdelinha:) above the paragraph.

Indented Paragraphs (Quotes)

Flechas (->) no começo de um parágrafo podem ser usadas para produzir um parágrafo indented paragraph. More hyphens at the beginning (--->) produce larger indents.

->Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.
Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.

Flechas invertidas (-<) no começo de um parágrafo podem ser usadas para produzir um parágrafo com a hanging indent. Adding hyphens at the beginning (---<) causes all the text to indent.

-<Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. 
Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.
--<Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.  And that food would be good to.
Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. And that food would be good to.

Blocos de texto to which (:linebreaks:) has been applied can be indented by preceding the first line of the block with indention arrows (->) and aligning subsequent lines under the first. An unindented line stops the block indentation. See Cookbook/MarkupTricks for an example.

Bulleted and Numbered Lists

Bullet lists are made by placing asterisks at the left margin. Numbered lists are made by placing number-signs (#) at the left margin. More asterisks/number-signs increases the level of bullet:

* First-level list item
** Second-level list item
### Order this
#### E isto (opcional)
### Então isto
** Another second-level item
* A first-level item: cooking
## Prepare the experiment
### Unwrap the pop-tart
### Insert the pop-tart into the toaster
## Begin cooking the pop tart
## Stand back
  • First-level list item
    • Second-level list item
      1. Order this
        1. E isto (opcional)
      2. Então isto
    • Another second-level item
  • A first-level item: cooking
    1. Prepare the experiment
      1. Unwrap the pop-tart
      2. Insert the pop-tart into the toaster
    2. Begin cooking the pop tart
    3. Stand back

Also see: ListStyles?, Cookbook:OutlineLists and Cookbook:NumberedHeaders

Listas de definição

Listas de definição são feitas colocando virgulas na margem esquerda:

:term:definição do termo
::second-level item: definition of 2nd-level item
term
definição do termo
second-level item
definition of 2nd-level item

Whitespace Rules

Whitespace indentation in lists. Any line that begins with whitespace and aligns with a previous list item (whether bulleted, numbers or definitional) is considered to be "within" that list item. Text folds and wraps as normal, and the directive is honored.

# First-level item\\
  Whitespace used to to continue item on a new line
# Another first-level item
  # Whitespace combined with a single # to create a new item one level deeper
  1. First-level item
    Whitespace used to to continue item on a new line
  2. Another first-level item
    1. Whitespace combined with a single # to create a new item one level deeper

Otherwise, linhas que começam com espaço em branco são tratadas como texto pré-formatado, using a monospace font and not generating linebreaks exceto aonde explicitly indicated in the markup. (Another way to create preformatted text blocks is by using the [@...@] markup.)

Linha horizontal

4 ou mais traços (----) no começo de uma linha produzem uma linha horizontal .

Emphasis

Other styling

'+big+', '-small-', '^super^', '_sub_', 

{+insert or underscore+}, 

{-delete or strikethrough or strikeout-}

big, small, super, sub,

insert or underscore,

delete or strikethrough or strikeout

See also Wiki Styles? for advanced text formatting options.

Referencias

Cabeçalhos

Headings são feitos colocando um ponto de exclamação (!) at the left margin. mais pontos de exclamação aumentam o nivel de cabeçalho. Por exemplo:

! cabeçalho do Nivel 1
!! Level 2 Heading
!!! Level 3 Heading
!!!! Level 4 Heading

cabeçalho do Nivel 1

Level 2 Heading

Level 3 Heading

Level 4 Heading

Escape sequence

Anything placed between [= and =] is not interpreted by PmWiki. This makes it possible to turn off special formatting interpretations and neutralise WikiWords that are not links (even easier is to use a tick ` in front, like `WikiWord).

Para blocos de textos pre-formatados, use a marcação [@...@] .

[@
Code goes here like [[PmWiki.PmWiki]]
'$CurrentTime $[by] $AuthorLink:  [=$ChangeSummary=]'; #just some code
@]
Code goes here like [[PmWiki.PmWiki]]
'$CurrentTime $[by] $AuthorLink:  [=$ChangeSummary=]'; #just some code

Também eh util usar [= =] within other wiki structures, as this enables the inclusion of new lines in text values. The example below shows how to include a multi-line value in a hidden form field.

(:input hidden message "[=Line1
Line2=]":)

Special Characters

Tabelas

Tabelas são definidas por células fechadas com '||'. A cell with leading and trailing spaces is centered; a cell with leading spaces is right-aligned; all other cells are left-aligned. An empty cell will cause the previous cell to span multiple columns. (There is currently no mechanism for spanning multiple rows.) A line beginning with '||' specifies the table attributes for subsequent tables. A '!' as the first character in a cell provides emphasis that can be used to provide headings.

||border=1 width=50%
||!Table||!Heading||!Example||
||!Left   || Center || Right||
||A       ||!  a B   ||     C||
||        || single ||      ||
||        || multi span   ||||
TableHeadingExample
LeftCenterRight
Aa BC
 single 
 multi span

Não consegue achar aqui?

See Índice Mestre de Marcações, Tabelas, Diretivas de Tabelas, ou Links.

<< Imagens | Índice da Documentação | Índice Mestre de Marcações >>




Essa é possivelmente a tradução do original em : PmWiki.TextFormattingRules - Backlinks

Essa tradução se encontra em : PmWikiPtBr.TextFormattingRules - Backlinks
Últimas modificações da tradução feitas em : September 10, 2011, at 11:00 AM EST

Últimas modificações feitas no original em : February 12, 2023, at 05:09 AM EST