Aqui você vê as diferenças entre duas revisões dessa página.
| Ambos lados da revisão anteriorRevisão anterior | |||
| wiki:syntax [2023/06/14 04:25] – a revisão anterior foi restaurada (2023/06/13 00:32) Sirilo Terres | wiki:syntax [2024/10/17 16:08] (atual) – edição externa 127.0.0.1 | ||
|---|---|---|---|
| Linha 1: | Linha 1: | ||
| - | ====== | + | ====== |
| - | O Dokuwiki suporta algumas linguagens de marcação bem simples que procuram fazer com que os arquivos de dados sejam o mais legíveis possível. Esta página contém todos os comandos disponíveis que você poderá usar para editar as páginas. Veja o código-fonte, | + | |
| - | ===== Formatação Básica de Texto ===== | + | |
| - | O Dokuwiki suporta textos em **negrito**, | + | |
| - | O Dokuwiki suporta textos em **negrito**, | + | [[doku> |
| - | // | + | |
| - | Obviamente, você poderá **__//'' | + | |
| - | todos os formatos. | + | |
| - | Você também pode usar < | + | ===== Basic Text Formatting ===== |
| - | Você também pode usar < | + | DokuWiki supports **bold**, |
| - | Você poderá marcar algo como < | + | DokuWiki supports **bold**, |
| + | Of course you can **__//'' | ||
| - | Você poderá marcar algo como <del>tachado</del>. | + | You can use <sub>subscript</sub> and < |
| - | **Parágrafos** são criados a partir de linhas em branco. Se quiser **forçar a quebra de linha** sem um novo parágrafo, você poderá usar duas barras (\\) seguidas do fim da linha ou de um espaço em branco. | + | You can use < |
| - | Este é um texto com algumas quebras de linha\\ Note que as | + | You can mark something |
| - | duas barras (\\) são reconhecidas apenas no fim da linha\\ | + | |
| - | ou seguidas por\\ um espaço \\isto que acontece sem o espaço. | + | |
| - | | + | |
| - | | + | |
| - | | + | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. |
| + | |||
| + | This is some text with some linebreaks\\ Note that the | ||
| + | two backslashes are only recognized at the end of a line\\ | ||
| + | or followed by\\ a whitespace \\this happens without it. | ||
| + | |||
| + | | ||
| + | two backslashes are only recognized at the end of a line\\ | ||
| + | | ||
| + | |||
| + | You should use forced newlines only if really needed. | ||
| - | Você deve forçar as quebras de linha apenas quando necessário. | ||
| ===== Links ===== | ===== Links ===== | ||
| - | O Dokuwiki suporta múltiplas formas de criar ligações entre páginas (links). | ||
| - | ==== Externos ==== | ||
| - | Links externos são reconhecidos automaticamente: | ||
| - | Links externos são reconhecidos automaticamente: | + | DokuWiki supports multiple ways of creating |
| - | ou simplesmente www.google.com - Você também pode rotular os links: | + | |
| - | [[http:// | + | |
| - | Endereços de e-mail como este: < | + | |
| - | também são reconhecidos automaticamente. | + | |
| - | ==== Internos ==== | + | |
| - | Links internos são criados usando colchetes. Você pode apenas fornecer o [[pagename|nome da página]] ou usar uma descrição adicional [[pagename|Título da Página]]. Os nomes das páginas wiki são convertidos para minúsculo automaticamente e caracteres especiais(espaço, | + | |
| - | Links internos são criados usando colchetes. Você pode apenas fornecer | + | ==== External ==== |
| - | o [[doku> | + | |
| - | [[doku> | + | |
| - | wiki são convertidos para minúsculo automaticamente e | + | |
| - | caracteres especiais(espaço, | + | |
| - | Você pode usar [[namespaces:]] acrescentando | + | External links are recognized automagically: |
| - | | + | |
| + | automagically: | ||
| + | link text as well: [[http:// | ||
| + | addresses like this one: < | ||
| - | // | + | ==== Internal ==== |
| - | [[namespaces|Clique aqui]] para saber mais sobre [[namespaces]]. | + | |
| - | É possível apontar um link para uma seção específica da página. Basta adicionar o nome da seção após um caractere de cerquilha (#) igual como é no HTML. Este link aponta para [[#internos|seção Internos]]. | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
| - | | + | |
| + | a [[pagename]] or use an additional [[pagename|link text]]. | ||
| - | Notas: | + | [[doku> |
| + | |||
| + | You can use [[some:namespaces]] by using a colon in the pagename. | ||
| + | |||
| + | You can use [[some: | ||
| + | |||
| + | For details about namespaces see [[doku> | ||
| + | |||
| + | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax# | ||
| + | |||
| + | This links to [[syntax# | ||
| + | |||
| + | Notes: | ||
| + | |||
| + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | ||
| + | * DokuWiki does not use [[wp> | ||
| + | * When a section' | ||
| - | * Links para [[pt-br: | ||
| - | * Seções são iniciadas por parágrafos. Uma linha qualquer de texto não serve de destino de um link interno. | ||
| - | * Quando os nomes das seções são alterados, os links que apontam pra elas devem ser alterados também. Portanto, não conte muito com os links de seção. | ||
| ==== Interwiki ==== | ==== Interwiki ==== | ||
| - | O Dokuwiki suporta links [[doku>interwiki|Interwiki]], que são links rápidos com outros wikis. Este é um exemplo de link para a página sobre Wikis da Wikipedia: [[wp> | + | DokuWiki supports |
| + | |||
| + | DokuWiki supports [[doku> | ||
| + | For example this is a link to Wikipedia's page about Wikis: [[wp> | ||
| + | |||
| + | ==== Windows Shares ==== | ||
| + | |||
| + | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | ||
| + | |||
| + | Windows Shares like [[\\server\share|this]] are recognized, too. | ||
| + | |||
| + | Notes: | ||
| + | |||
| + | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | ||
| + | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// | ||
| + | <?php | ||
| + | /** | ||
| + | * Customization of the english language file | ||
| + | * Copy only the strings that needs to be modified | ||
| + | */ | ||
| + | $lang[' | ||
| + | </ | ||
| + | |||
| + | ==== Image Links ==== | ||
| + | |||
| + | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | Please note: The image formatting is the only formatting syntax accepted in link names. | ||
| - | O Dokuwiki suporta links [[doku> | + | The whole [[# |
| - | links rápidos com outros wikis. Este é um exemplo de link para a | + | |
| - | página sobre Wikis da Wikipedia: | + | |
| - | ==== Links com Imagens ==== | + | |
| - | Você também poderá usar uma imagem para linkar outra página interna ou externa combinando a sintaxe de links e de [[# | + | |
| - | [[http:// | + | ===== Footnotes ===== |
| - | [[http:// | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
| - | **Importante**: | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
| - | A sintaxe completa de [[# | + | ===== Sectioning |
| - | ===== Notas de Rodapé | + | |
| - | Você pode adicionar notas de rodapé ((Isto é uma nota de rodapé)) usando parênteses duplos. | + | |
| - | Você pode adicionar notas de rodapé ((Isto é uma nota de rodapé)) | + | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string |
| - | usando parênteses duplos. | + | |
| - | ===== Seções ===== | + | |
| - | Você pode usar até cinco diferentes níveis de títulos para estruturar o conteúdo. Com 3 ou mais níveis será automaticamente gerada uma Tabela de Conteúdos visível à direita do topo da página. A Tabela de Conteúdos | + | |
| - | O documento [[: | + | ==== Headline Level 3 ==== |
| - | ====== Título de nível 1 ====== | + | === Headline Level 4 === |
| - | ===== Título de nível 2 ===== | + | == Headline Level 5 == |
| - | ==== Título de nível | + | |
| - | === Título de nível | + | |
| - | == Título de nível | + | |
| - | ====== Título de nível 1 ====== | + | ==== Headline Level 3 ==== |
| - | ===== Título de nível 2 ===== | + | === Headline Level 4 === |
| - | ==== Título de nível | + | == Headline Level 5 == |
| - | === Título de nível | + | |
| - | == Título de nível | + | |
| - | Para incluir uma linha horizontal como a abaixo digite 4 ou mais traços: | + | By using four or more dashes, you can make a horizontal line: |
| ---- | ---- | ||
| - | ===== Imagens e Outros Arquivos ===== | ||
| - | Você pode incluir [[doku> | ||
| - | Tamanho real: {{wiki: | + | ===== Media Files ===== |
| - | Tamanho personalizado: | + | You can include external and internal [[doku> |
| - | Redimensionar para uma largura ou largura específica((Quando a proporção da largura e altura especificada não coincidir com a da imagem, ela será recortada para a nova proporção antes de ser redimensionada)): {{wiki: | + | Real size: {{wiki: |
| - | Imagem externa redimensionada: {{https://secure.php.net/ | + | Resize to given width: {{wiki:dokuwiki-128.png?50}} |
| - | Tamanho Real: | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
| - | Redimensionada para uma largura específica: | + | |
| - | Redimensionada para uma altura específica: | + | |
| - | Imagem externa redimensionada: | + | |
| - | Usando espaços em branco na direita e na esquerda, você poderá mudar o alinhamento: | + | Resized external image: {{https:// |
| + | |||
| + | Real size: {{wiki: | ||
| + | Resize to given width: | ||
| + | Resize to given width and height: {{wiki: | ||
| + | Resized external image: {{https:// | ||
| + | |||
| + | |||
| + | By using left or right whitespaces you can choose the alignment. | ||
| {{ wiki: | {{ wiki: | ||
| Linha 132: | Linha 157: | ||
| {{ wiki: | {{ wiki: | ||
| - | Obviamente, você também pode trocar o título da imagem | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
| - | {{ wiki: | + | {{ wiki: |
| - | {{ wiki: | + | {{ wiki: |
| - | Se você especificar um nome de arquivo (externo ou interno) que não seja uma imagem ('' | + | For linking an image to another page see [[#Image Links]] above. |
| - | Para linkar uma imagem para outra página, veja o tópico [[#Links com Imagens]] acima. | + | ==== Supported Media Formats |
| - | ==== Arquivos PDF ==== | + | |
| - | Para abrir arquivos PDF, execute primeiro o upload com o Media Manager, programe a referência semelhante à das imagens. Por exemplo, se foi feito o upload do arquivo manual.pdf para \media\pdf, assim ficará a referência: | + | |
| - | < | + | DokuWiki can embed the following media formats directly. |
| - | {{: | + | |
| - | </ | + | |
| + | | Image | '' | ||
| + | | Video | '' | ||
| + | | Audio | '' | ||
| + | | Flash | '' | ||
| - | ==== Formatos de Mídia Suportados ==== | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
| - | O Wiki pode embutir os seguintes formatos de mídia diretamente. | + | By adding |
| - | + | ||
| - | | Imagem | '' | + | |
| - | | Video | '' | + | |
| - | | Áudio | + | |
| - | | Flash | '' | + | |
| - | + | ||
| - | Se você especificar um nome de arquivo que não é suportado, então ele será exibido como um link. | + | |
| - | + | ||
| - | Adicionando | + | |
| {{wiki: | {{wiki: | ||
| - | {{wiki: | + | {{wiki: |
| - | ==== Formatos Avançados | + | ==== Fallback Formats |
| - | Infelizmente nem todos os navegadores entendem todos os formatos de videos e de áudio. Para mitigar este problema, você pode enviar diferentes formatos para o máximo de compatibilidade dos navegadores. | + | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. |
| - | Por exemplo, considere este vídeo embutido: | + | For example consider this embedded mp4 video: |
| - | {{video.mp4|Um vídeo engraçado}} | + | {{video.mp4|A funny video}} |
| - | Quando você faz o upload | + | When you upload |
| - | Além disso, o DokuWiki | + | Additionally |
| + | ===== Lists ===== | ||
| - | ===== Listas ===== | + | Dokuwiki |
| - | O Dokuwiki | + | |
| - | * Esta é uma lista | + | * This is a list |
| - | * O segundo | + | * The second |
| - | * você pode ter diferentes níveis | + | * You may have different levels |
| - | * Outro item | + | * Another |
| - | - A mesma lista porém ordenada | + | - The same list but ordered |
| - | - Outro Item | + | - Another item |
| - | - Simplesmente | + | - Just use indention for deeper levels |
| - | - Último item | + | - That's it |
| < | < | ||
| - | * Esta é uma lista | + | * This is a list |
| - | * O segundo | + | * The second |
| - | * você pode ter diferentes níveis | + | * You may have different levels |
| - | * Outro item | + | * Another |
| - | - A mesma lista porém ordenada | + | - The same list but ordered |
| - | - Outro Item | + | - Another item |
| - | - Simplesmente | + | - Just use indention for deeper levels |
| - | - Último item | + | - That's it |
| </ | </ | ||
| - | Veja também o [[doku> | + | Also take a look at the [[doku> |
| - | ===== Conversões de Texto ===== | + | |
| - | O [[doku>DokuWiki]] pode converter certos caracteres ou textos predefinidos em imagens ou em outro texto ou em HTML. | + | ===== Text Conversions |
| + | |||
| + | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | ||
| + | |||
| + | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
| + | |||
| + | ==== Text to Image Conversions ==== | ||
| + | |||
| + | DokuWiki converts commonly used [[wp> | ||
| - | A conversão de texto para imagem é feito principalmente para smileys(carinhas). E a conversão de texto para HTML é usado para substituição de tipografia, mas também pode ser configurada para usar outro HTML. | ||
| - | ==== Conversão de Texto para Imagem ==== | ||
| - | O DokuWiki produz os [[wp> | ||
| * 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
| * 8-O %% 8-O %% | * 8-O %% 8-O %% | ||
| Linha 226: | Linha 247: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Linha 231: | Linha 253: | ||
| * FIXME %% FIXME %% | * FIXME %% FIXME %% | ||
| * DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
| - | ===== Conversão de Texto para HTML ===== | + | |
| - | O [[wiki: | + | ==== Text to HTML Conversions |
| + | |||
| + | Typography: | ||
| -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| - | "Ele disse: | + | "He thought |
| < | < | ||
| -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| - | "Ele disse: | + | "He thought |
| </ | </ | ||
| - | ===== Citações ===== | ||
| - | Se precisar mostrar textos como diálogos igual ao abaixo, a sintaxe é a seguinte: | ||
| + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> | ||
| - | Eu pensei que nós deveríamos fazer isto | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
| - | + | ||
| - | > Não, não deveríamos | + | |
| - | + | ||
| - | >> Bem, eu disse que nós deveríamos | + | |
| - | + | ||
| - | > Realmente? | + | |
| - | + | ||
| - | >> Sim! | + | |
| - | + | ||
| - | >>> Então vamos fazer isto! | + | |
| - | Eu pensei que nós deveríamos fazer isto | + | ===== Quoting ===== |
| - | > Não, não deveríamos | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
| - | >> | + | <code> |
| + | I think we should do it | ||
| + | |||
| + | > No we shouldn' | ||
| + | |||
| + | >> Well, I say we should | ||
| + | |||
| + | > Really? | ||
| + | |||
| + | >> Yes! | ||
| + | |||
| + | >>> | ||
| + | </ | ||
| + | |||
| + | I think we should do it | ||
| + | |||
| + | > No we shouldn' | ||
| + | |||
| + | >> Well, I say we should | ||
| + | |||
| + | > Really? | ||
| + | >> Yes! | ||
| - | > Realmente? | + | >>> Then lets do it! |
| - | >> Sim! | + | ===== Tables ===== |
| - | >>> | + | DokuWiki supports a simple syntax to create tables. |
| - | ===== Tabelas ===== | + | |
| - | O Dokuwiki disponibiliza uma sintaxe simples para criação de tabelas. | + | |
| - | ^ Cabeçalho | + | ^ Heading |
| - | | Linha 1 Coluna | + | | Row 1 Col 1 | Row 1 Col 2 |
| - | | Linha 2 Coluna | + | | Row 2 Col 1 | some colspan |
| - | | Linha 3 Coluna | + | | Row 3 Col 1 | Row 3 Col 2 |
| - | Linhas de tabelas devem iniciar e terminar com um '' | + | Table rows have to start and end with a '' |
| - | ^ Cabeçalho | + | ^ Heading |
| - | | Linha 1 Coluna | + | | Row 1 Col 1 | Row 1 Col 2 |
| - | | Linha 2 Coluna | + | | Row 2 Col 1 | some colspan |
| - | | Linha 3 Coluna | + | | Row 3 Col 1 | Row 3 Col 2 |
| - | Para conectar células horizontalmente, apenas faça a próxima célula vazia como exibido abaixo. Certifique-se de que existe a mesma quantidade de separadores de células em todas as linhas! | + | To connect cells horizontally, just make the next cell completely empty as shown above. Be sure to have always the same amount of cell separators! |
| - | Cabeçalhos verticais também são possíveis. | + | Vertical tableheaders are possible, too. |
| - | | ^ Cabeçalho | + | | ^ Heading |
| - | ^ Cabeçalho | + | ^ Heading |
| - | ^ Cabeçalho | + | ^ Heading |
| - | ^ Cabeçalho | + | ^ Heading |
| - | Como você pode ver, é o separador de células anterior à célula que decide sobre a formatação: | + | As you can see, it's the cell separator before |
| - | | ^ Cabeçalho | + | | ^ Heading |
| - | ^ Cabeçalho | + | ^ Heading |
| - | ^ Cabeçalho | + | ^ Heading |
| - | ^ Cabeçalho | + | ^ Heading |
| - | Você pode conectar células verticalmente adicionando | + | You can have rowspans (vertically connected cells) by adding |
| - | ^ Cabeçalho | + | ^ Heading |
| - | | Linha | + | | Row 1 Col 1 | this cell spans vertically |
| - | | Linha | + | | Row 2 Col 1 | ::: | Row 2 Col 3 | |
| - | | Linha | + | | Row 3 Col 1 | ::: | Row 2 Col 3 | |
| - | Estas células não deverão conter nada além da sintaxe de conexão vertical. | + | Apart from the rowspan syntax those cells should not contain anything else. |
| - | ^ Cabeçalho | + | ^ Heading |
| - | | Linha | + | | Row 1 Col 1 | this cell spans vertically |
| - | | Linha | + | | Row 2 Col 1 | ::: | Row 2 Col 3 | |
| - | | Linha | + | | Row 3 Col 1 | ::: | Row 2 Col 3 | |
| - | Você também pode alinhar o conteúdo da tabela, adicionando dois espaços no lado oposto ao do alinhamento: | + | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. |
| - | * Para alinhar à direita adicione dois espaços no lado esquerdo. | + | |
| - | * Para alinhar à esquerda adicione dois espaços no lado direito. | + | |
| - | * Para centralizar adicione dois espaços nos dois lados. | + | |
| - | ^ Tabela com alinhamento | + | ^ Table with alignment |
| - | | direita| | + | | right| |
| - | |esquerda | + | |left |
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | Assim que aparede no código-fonte: | + | This is how it looks in the source: |
| - | ^ Tabela com alinhamento | + | ^ Table with alignment |
| - | | direita| | + | | right| |
| - | |esquerda | + | |left |
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | Nota: Alinhamento vertical não é suportado. | + | Note: Vertical alignment is not supported. |
| - | ===== Blocos não-interpretados | + | |
| - | Se você precisar exibir um texto sem formatação exatamente como digitado, delimite o texto com a tag '' | + | ===== No Formatting |
| + | |||
| + | If you need to display text exactly like it is typed (without any formatting), enclose the area either with '' | ||
| < | < | ||
| - | Este é um texto que contém endereços como este: http://www.Dokuwiki.com.br e **formatação**, mas nada é feito com eles. | + | This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it. |
| </ | </ | ||
| - | O mesmo acontece com %%//__este__ **texto**// com um smiley ;-)%%. | + | The same is true for %%//__this__ text// with a smiley ;-)%%. |
| < | < | ||
| - | | + | |
| </ | </ | ||
| - | | + | |
| - | ===== Blocos de código | + | |
| - | Você pode incluir blocos de código-fonte em seu documento endentando-os com dois espaços no início da linha(como nos exemplos anteriores) ou usando as tags '' | + | ===== Code Blocks |
| + | |||
| + | You can include code blocks into your documents by either indenting them by at least two spaces | ||
| + | |||
| + | This is text is indented by two spaces. | ||
| < | < | ||
| - | Este é um código pré-formatado, | + | This is preformatted code all spaces are preserved: like |
| </ | </ | ||
| < | < | ||
| - | Este é exatamente o mesmo mas você deve usá-lo para dizer que citou um arquivo. | + | This is pretty much the same, but you could use it to show that you quoted a file. |
| </ | </ | ||
| - | Estes blocos foram criados pelo seguinte fonte: | + | Those blocks were created by this source: |
| + | |||
| + | This is text is indented by two spaces. | ||
| < | < | ||
| - | | + | |
| </ | </ | ||
| < | < | ||
| - | | + | |
| </ | </ | ||
| - | ==== Destaque de Sintaxe | + | |
| - | [[wiki: | + | ==== Syntax Highlighting |
| + | |||
| + | [[wiki: | ||
| <code java> | <code java> | ||
| Linha 379: | Linha 418: | ||
| </ | </ | ||
| - | As seguintes linguagens são reconhecidas: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic// | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic// |
| - | Existem | + | There are additional |
| - | ==== Blocos de Código Baixáveis ==== | + | |
| - | Quando você usa as sintaxes '' | + | |
| - | < | + | ==== Downloadable Code Blocks ==== |
| - | <file php exemplo.php> | + | |
| - | <?php echo "hello world!"; | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | <file php exemplo.php> | + | |
| - | <?php echo "hello world!"; | + | |
| - | </ | + | |
| - | Se você não quiser nenhum destaque no código-fonte mas quiser que o arquivo seja baixável, troque o nome da linguagem de programação por um traço ('' | + | When you use the '' |
| < | < | ||
| - | < | + | < |
| <?php echo "hello world!"; | <?php echo "hello world!"; | ||
| </ | </ | ||
| </ | </ | ||
| - | < | + | < |
| <?php echo "hello world!"; | <?php echo "hello world!"; | ||
| </ | </ | ||
| + | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
| - | ===== HTML e PHP embutido | + | ===== RSS/ATOM Feed Aggregation |
| - | Você pode embutir HTML e PHP puros dentro de seus documentos usando as tags '' | + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// |
| - | Exemplo em HTML: | + | ^ Parameter |
| + | | any number | will be used as maximum number items to show, defaults to 8 | | ||
| + | | reverse | ||
| + | | author | ||
| + | | date | show item dates | | ||
| + | | description| show the item description. All HTML tags will be stripped | | ||
| + | | nosort | ||
| + | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
| - | < | + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki: |
| - | < | + | |
| - | Este é um <span style=" | + | |
| - | </ | + | |
| - | < | + | |
| - | <p style=" | + | |
| - | </HTML> | + | |
| - | </code> | + | |
| - | < | + | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' |
| - | Este é um <span style=" | + | |
| - | </ | + | |
| - | < | + | |
| - | <p style=" | + | |
| - | </ | + | |
| - | Exemplo em PHP: | + | **Example:** |
| - | <code> | + | {{rss>http://slashdot.org/index.rss 5 author date 1h }} |
| - | < | + | |
| - | echo 'Uma logo gerada pelp PHP:'; | + | |
| - | echo '< | + | |
| - | echo '(HTML gerado em linha)'; | + | |
| - | </php> | + | |
| - | < | + | |
| - | echo '< | + | |
| - | echo '< | + | |
| - | echo '</ | + | |
| - | </ | + | |
| - | </ | + | |
| - | <php> | + | {{rss>http://slashdot.org/index.rss 5 author date 1h }} |
| - | echo 'Uma logo gerada pelp PHP:'; | + | |
| - | echo '< | + | |
| - | echo '(HTML gerado em linha)'; | + | |
| - | </php> | + | |
| - | < | + | |
| - | echo '< | + | |
| - | echo '< | + | |
| - | echo '</ | + | |
| - | </ | + | |
| - | **Nota:** HTML e PHP embutidos ficam desabilitados por padrão na configuração. Quando desabilitados, | ||
| - | ===== RSS/ATOM Feed Aggregation ===== | ||
| - | O Dokuwiki pode integrar com dados externos de XML feeds. O [[http:// | ||
| - | ^ Parâmetro | + | ===== Control Macros ===== |
| - | | //n// | será usado como máximo de itens a serem exibidos, o padrão é 8 | | + | |
| - | | reverse | + | |
| - | | author | + | |
| - | | date | exibe as datas dos itens | | + | |
| - | | description | + | |
| - | | // | + | |
| - | O período de atualização por padrão é 4 horas. Qualquer valor abaixo de 10 minutos será tratado como 10 minutos. O Dokuwiki geralmente vai tentar fornecer uma versão em //cache// da página, claro que isto é inapropriado quando a página contém conteúdo externo dinâmico. Os parâmetros falam pro Dokuwiki recarregar | + | Some syntax influences how DokuWiki renders |
| - | **Exemplo: | + | ^ Macro ^ Description | |
| + | | %%~~NOTOC~~%% | ||
| + | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
| - | {{rss> | + | ===== Syntax Plugins ===== |
| - | {{rss>http:// | + | DokuWiki' |
| - | ===== Comandos de Controle ===== | + | |
| - | Alguns comandos influenciam em como o DokuWiki monta a página sem criar nenhuma informação visível para o leitor. Os seguintes comandos de controle estão disponíveis: | + | ~~INFO:syntaxplugins~~ |
| - | ^ Comando | ||
| - | |%%~~NOTOC~~%% | ||
| - | |%%~~NOCACHE~~%% | ||