2 384
edições
m (→Símbolos) |
|||
(8 revisões intermediárias por 2 usuários não estão sendo mostradas) | |||
Linha 31: | Linha 31: | ||
==== Python ==== | ==== Python ==== | ||
Simples: | |||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
a=1 | a=1 | ||
Linha 36: | Linha 37: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Com contador de linhas: | |||
<syntaxhighlight lang="python" line> | <syntaxhighlight lang="python" line> | ||
def quick_sort(arr): | def quick_sort(arr): | ||
Linha 45: | Linha 47: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Com contador de linhas, iniciando no 55: | |||
<syntaxhighlight lang="python" line start="55> | <syntaxhighlight lang="python" line start="55> | ||
def quick_sort(arr): | def quick_sort(arr): | ||
Linha 56: | Linha 59: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Com contador de linhas, iniciando no 55, sendo realçadas linhas 1ª, 3ª, 6ª ao 8ª: | |||
<syntaxhighlight lang="python" line start="55" highlight="1,3,6-8"> | <syntaxhighlight lang="python" line start="55" highlight="1,3,6-8"> | ||
def quick_sort(arr): | def quick_sort(arr): | ||
Linha 82: | Linha 86: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Símbolos == | == Símbolos 2 fórmulas == | ||
Alfa: <math>\alpha</math> | Alfa: <math>\alpha</math> | ||
Linha 89: | Linha 93: | ||
Gama: <math>\gamma</math> | Gama: <math>\gamma</math> | ||
Phi | Phi ou Fi: <math>\phi</math> | ||
Pi: <math>\pi</math> | Pi ao quadrado: <math>\pi^2</math> | ||
Sigma: <math>\ | Sigma índice 5 mais x: <math>\sigma_5 + x</math> | ||
== Imagens == | == Imagens == | ||
Linha 141: | Linha 145: | ||
(sem exemplo, confirmar) | (sem exemplo, confirmar) | ||
SVG: | |||
{{Por fazer|Está com falha para renderizar textos. Ver https://github.com/AddressForAll/wiki-backup/issues/5.}} | |||
[[File:Reverse proxy h2g2bob.svg|thumb|nenhum]] | |||
== Vídeos == | == Vídeos == | ||
Linha 497: | Linha 507: | ||
John->Bob: How about you? | John->Bob: How about you? | ||
Bob-->John: Jolly good! | Bob-->John: Jolly good! | ||
}} | |||
'''Exemplo 2''' adaptado de um vindo do GitHub: | |||
{{#mermaid:classDiagram | |||
Jurisdiction *-- "0..1" Jurisdiction_geom | |||
Donated_PackTpl "0..1" --> Jurisdiction: has scope | |||
Donated_PackTpl "*" --> Donor: has | |||
Donor "0..1" ..> Jurisdiction: has agg scope | |||
class Jurisdiction { osm_id bigint } | |||
class Jurisdiction_geom { osm_id bigint } | |||
class Donor { | |||
id integer | |||
scope_osm_id bigint | |||
} | |||
class Donated_PackTpl { | |||
id integer | |||
scope_osm_id bigint | |||
donor_id integer | |||
} | |||
}} | }} | ||
edições