Herramientas de usuario

Herramientas del sitio


wiki:syntax

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anterior Revisión previa
Próxima revisión Ambos lados, revisión siguiente
wiki:syntax [2016/01/20 08:02]
127.0.0.1 editor externo
wiki:syntax [2016/01/20 08:21]
admin
Línea 1: Línea 1:
-====== Formatting Syntax ======+====== Sintaxis de Formato ======
  
-[[doku>DokuWiki]] supports some simple markup languagewhich tries to make the datafiles to be as readable as possibleThis page contains all possible syntax you may use when editing the pagesSimply have a look at the source of this page by pressing "Edit this page"If you want to try somethingjust use the [[playground:playground|playground]] pageThe simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.+[[DokuWiki]] soporta un lenguaje de marcas simple, que intenta hacer los ficheros de datos tan legibles como sea posibleEsta página contiene un resumen de las posibles opciones que puedes usar a la hora de editar las páginas((El listado completo de estas opciones está en [[https://www.dokuwiki.org/es:syntax|www.dokuwiki.org/es:syntax]])). Simplemente, observa el código de esta página pulsando sobre //Editar esta página// en la parte superior y en la parte inferior de la página. Si quieres intentar algousa [[playground:playground|la página de pruebas]]. Las marcas más simples también se encuentran accesibles mediante [[doku>es:toolbar]].
  
-===== Basic Text Formatting =====+===== Formato básico de texto =====
  
-DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' textsOf course you can **__//''combine''//__** all these.+DokuWiki soporta **negritas**, //cursivas//, __subrayados__ y texto ''monoespaciado''Por supuesto, puedes **__//''combinarlos''//__** todos.
  
-  DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts+  DokuWiki soporta **negritas**, //cursivas//, __subrayados__ y texto ''monoespaciado''.  
-  Of course you can **__//''combine''//__** all these.+  Por supuesto, puedes **__//''combinarlos''//__** todos.
  
-You can use <sub>subscript</suband <sup>superscript</sup>, too.+Del mismo modo, también puedes marcar algo como <del>tachado</del>.
  
-  You can use <sub>subscript</suband <sup>superscript</sup>, too.+  Del mismo modo, también puedes marcar algo como <del>borrado</del>.
  
-You can mark something as <del>deleted</del> as well.+Los **párrafos** se crean a partir de líneas en blanco. Si quieres **forzar un salto de línea** sin un párrafo, puedes usar dos barras invertidas seguidas por un espacio en blanco o el final de la línea.
  
-  You can mark something as <del>deleted</del> as well.+Esto es un texto con algunos saltos de línea.\\ Advierte que las 
 +dos barras invertidas son reconocidas solamente al final de una línea\\ 
 +o cuando están seguidas de\\ un espacio en blanco \\Esto sucede sin él.
  
-**Paragraphs** are created from blank linesIf you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line.+  Esto es un texto con algunos saltos de línea.\\ Advierte que las  
 +  dos barras invertidas son reconocidas solamente al final de una línea\\ 
 +  o cuando están seguidas de\\ un espacio en blanco \\Esto sucede sin él.
  
-This is some text with some linebreaks\\ Note that the +Solamente deberías forzar saltos de línea cuando realmente lo necesites.
-two backslashes are only recognized at the end of a line\\ +
-or followed by\\ a whitespace \\this happens without it.+
  
-  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. 
  
-You should use forced newlines only if really needed.+===== Enlaces =====
  
-===== Links =====+DokuWiki soporta múltiples formas de crear enlaces. 
 +==== Externos ====
  
-DokuWiki supports multiple ways of creating links.+Los enlaces externos se reconocen automáticamente: http://www.google.com o simplemente www.google.com - También puedes establecer enlaces con un nombre: [[http://www.google.com|Este enlace apunta a google]]. Las direcciones de correo electrónico como ésta: <andi@splitbrain.org> también son reconocidas.
  
-==== External ====+  Dokuwiki soporta múltiples formas de crear enlaces. Los enlaces externos se reconocen  
 +  automáticamente: http://www.google.com o simplemente www.google.com - También puedes 
 +  establecer enlaces con nombre: [[http://www.google.com|Este enlace apunta a google]].  
 +  Las direcciones de correo electrónico como ésta: <andi@splitbrain.org>  
 +  también son reconocidas.
  
-External links are recognized automagically: http://www.google.com or simply www.google.com - You can set the link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: <andi@splitbrain.org> are recognized, too. 
  
-  DokuWiki supports multiple ways of creating links. External links are recognized +==== Internos ====
-  automagically: http://www.google.com or simply www.google.com - You can set +
-  link text as well: [[http://www.google.com|This Link points to google]]. Email +
-  addresses like this one: <andi@splitbrain.org> are recognized, too.+
  
-==== Internal ====+Los enlaces internos se crean mediante corchetes. Puedes tanto simplemente usar [[doku>pagename]] como usar el extendido[[doku>pagename|Texto de título]]. Los nombres de páginas wiki son convertidos a minúsculas automáticamente y no se permiten caracteres especiales.
  
-Internal links are created by using square bracketsYou can either just give a [[pagename]] or use an additional [[pagename|link text]].+  Los enlaces internos se crean mediante corchetesPuedes tanto simplemente usar [[doku>pagename]]  
 +  como usar el extendido[[doku>pagename|Texto de título]]. Los nombres de páginas wiki son convertidos 
 +  a minúsculas automáticamente y no se permiten caracteres especiales. 
 +   
 +Puedes usar [[namespaces]] mediante dos puntos en el nombre de la página.
  
-  Internal links are created by using square brackets. You can either just give +  Puedes usar [[namespaces]] mediante dos puntos en el nombre de la página.
-  a [[pagename]] or use an additional [[pagename|link text]].+
  
-[[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed.+Para más detalles sobre espacios de nombres mira [[doku>namespaces]].
  
-You can use [[some:namespaces]] by using a colon in the pagename.+Es también posible enlazar con una sección específica. Basta con añadir el nombre de sección detrás de una almohadilla, como se hace en HTML. Esto enlaza a [[syntax#internos|Esta sección]].
  
-  You can use [[some:namespaces]] by using a colon in the pagename.+  Esto enlaza a [[syntax#internos|Esta sección]].
  
-For details about namespaces see [[doku>namespaces]].+Notas:
  
-Linking to specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]+  * Los enlaces a [[syntax|páginas existentes]] se muestran de forma diferente los [[no existentes]]. 
- +  * DokuWiki no utiliza [[wp>CamelCase]] para crear enlaces automáticamente por defectopero este comportamiento puede ser habilitado en el fichero [[doku>config]]. TrucoSi DokuWiki es un enlaceentonces está habilitado
-  This links to [[syntax#internal|this Section]]. +  * Cuando se cambia el encabezamiento de una secciónsu bookmark también cambiaAsí que no dependas demasiado del enlace de secciones.
- +
-Notes: +
- +
-  * Links to [[syntax|existing pages]] are shown in different style from [[nonexisting]] ones+
-  * DokuWiki does not use [[wp>CamelCase]] to automatically create links by defaultbut this behavior can be enabled in the [[doku>config]] fileHintIf DokuWiki is a linkthen it's enabled+
-  * When a section's heading is changedits bookmark changes, tooSo don't rely on section linking too much. +
- +
-==== Interwiki ==== +
- +
-DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]. +
- +
-  DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. +
-  For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]. +
- +
-==== 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>Intranet]]. +
- +
-  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://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_some_localized_texts_and_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> +
-<?php +
-/** +
- * Customization of the english language file +
- * Copy only the strings that needs to be modified +
- */ +
-$lang['js']['nosmblinks'] = ''; +
-</code>+
  
 ==== Image Links ==== ==== Image Links ====
wiki/syntax.txt · Última modificación: 2022/11/16 21:50 (editor externo)