Подсказки по редактированию
Доступны HTML теги: <a> <em> <strong> <i> <b> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <h1> <h2> <h3> <h4> <h5> <h6> <p> <sub> <sup> <table> <tr> <th> <td>
Этот сайт допускает использование материалов с разметкой HTML. Изучение всего языка HTML может показаться пугающим, но использование небольшого количества основных "тегов" - это очень просто. Приведенная таблица показывает примеры для каждого тега из доступных на сайте.
Больше информации вы можете получить на странице официальных спецификаций HTML или используйте ваш любимый поисковик, чтобы найти сайты, разъясняющие HTML.
Описание тега Вы пишете Вы получаете Якоря используются для создания ссылок на другие страницы. <a href="http://www.elwiki.ru">ElWiki - справочник по радиоэлектронике и электротехнике</a>
ElWiki - справочник по радиоэлектронике и электротехнике Курсив <em>Курсив</em>
Курсив Выделенный <strong>Выделенный</strong>
Выделенный Курсив <i>Курсив</i>
Курсив Полужирный <b>Полужирный</b>
Полужирный Цитата <cite>Цитата</cite>
Цитата Для отображения исходных текстов программ <code>Исходный код</code>
Исходный код
Ненумерованный список – используйте <li> для начала каждого элемента списка <ul> <li>Первый элемент</li> <li>Второй элемент</li> </ul>
- Первый элемент
- Второй элемент
Нумерованный список – используйте <li> для начала каждого элемента списка <ol> <li>Первый элемент</li> <li>Второй элемент</li> </ol>
- Первый элемент
- Второй элемент
Списки определений похожи на другие списки HTML. <dl> начинает список определений, <dt> начинает определяемый термин и <dd> начинает описание определения. <dl> <dt>Первый термин</dt> <dd>Первое определение</dd> <dt>Второй термин</dt> <dd>Второе определение</dd> </dl>
- Первый термин
- Первое определение
- Второй термин
- Второе определение
Справки для тега img нет. Заголовок <h1>Заголовок</h1>
Заголовок
Заголовок <h2>Подзаголовок</h2>
Подзаголовок
Заголовок <h3>Заголовок третьего уровня</h3>
Заголовок третьего уровня
Заголовок <h4>Заголовок четвёртого уровня</h4>
Заголовок четвёртого уровня
Заголовок <h5>Заголовок пятого уровня</h5>
Заголовок пятого уровня
Заголовок <h6>Заголовок шестого уровня</h6>
Заголовок шестого уровня
По умолчанию теги параграфов добавляются автоматически, так что используйте этот тег для создания дополнительных параграфов. <p>Первый параграф.</p> <p>Второй параграф.</p>
Первый параграф.
Второй параграф.
Нижний индекс <sub>Нижний</sub> индекс
Нижний индекс Верхний индекс <sup>Верхний</sup> индекс
Верхний индекс Таблица <table> <tr><th>Заголовок таблицы</th></tr> <tr><td>Ячейка таблицы</td></tr> </table>
Заголовок таблицы Ячейка таблицы Большинство малоиспользуемых символов могут быть введены безо всяких проблем.
Если проблемы всё же возникают, попробуйте использовать подстановки для символов языка HTML. Например, & для вывода знака амперсанда. Полный список таких подстановок смотрите на странице подстановки. Некоторые из доступных символов:
Описание знака Вы пишете Вы получаете Амперсанд &
& Больше чем >
> Меньше чем <
< Кавычка "
" - Адреса страниц и электронной почты автоматически преобразуются в ссылки.
- Строки и параграфы распознаются автоматически. Теги переноса строки <br />, параграфа <p> и закрытия параграфа </p> вставляются автоматически. Если параграфы не распознаны, просто добавьте пару пустых строк.
Лёгкое связывание
Freelinking helps you easily create HTML links. Links take the form of [[indicator:target|Title]].
Below is a list of available types of freelinks you may use, organized as Plugin Name: [indicator].- Wikibooks [/w(ikibooks|b)/] — Link to a wikibooks page.
- Wikisource [/w(ikisource|s)/] — Link to a wikisource page.
- Wikinews [/w(ikinews|n)/] — Link to a wikinews page.
- Drupalorgnid [/d(rupal)?o(rg)?/] — Link to a drupal.org node.
- Drupalproject [/d(rupal)?project/] — Link to a project on drupal.org by name.
- User [/(u|user|username|uid|userid)$/] — Link to a user profile by name or uid.
- Path [/path|alias/i] — Link to a page by internal URL.
- Wiktionary [/w(iktionary|t)/] — Link to a wiktionary page.
- Wikiquote [/w(ikiquote|q)/] — Link to a wikiquote page.
- Nid [/(n(id|ode)?)$/A] — Link to a local node by nid
- Image [/^image$/i]
- File [/^file$/i]
- Search [/search/] — Run a local search for the specified terms.
- Google [/google/] — Search google for the specified terms.
- Wikipedia [/w(iki|ikipedia|p)?$/] — Link to a wikipedia page.
- One inch frame [/oif/] — Link to a wiki page at oif.eafarris.com
- Nodetitle [/nt|nodetitle|title/] — Link to a local node by title
Подсветка синтаксиса исходного кода может быть активирована используя следующие теги:
- Generic syntax highlighting tags: "
[code]
", "[blockcode]
". - Language specific syntax highlighting tags: "
[asm]
" for ASM source code, "[asp]
" for ASP source code, "[c]
" for C source code, "[cpp]
" for C++ source code, "[delphi]
" for Delphi source code, "[java]
" for Java source code, "[javascript]
" for Javascript source code, "[matlab]
" for Matlab M source code, "[mpasm]
" for Microchip Assembler source code, "[mysql]
" for MySQL source code, "[pascal]
" for Pascal source code, "[php]
" for PHP source code, "[python]
" for Python source code, "[ruby]
" for Ruby source code, "[vb]
" for Visual Basic source code, "[z80]
" for ZiLOG Z80 Assembler source code.
Опции и советы:
- 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: "
asm
" (for ASM), "asp
" (for ASP), "c
" (for C), "cpp
" (for C++), "delphi
" (for Delphi), "java
" (for Java), "javascript
" (for Javascript), "matlab
" (for Matlab M), "mpasm
" (for Microchip Assembler), "mysql
" (for MySQL), "pascal
" (for Pascal), "php
" (for PHP), "python
" (for Python), "ruby
" (for Ruby), "vb
" (for Visual Basic), "z80
" (for ZiLOG Z80 Assembler). - 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: when no language attribute is specified, no syntax highlighting will be done.
- Default line numbering: без нумерации строк.
Пример:
You type You 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="mpasm" linenumbers="normal"]
foo = "bar";
baz = "foz";
[/code]Code block with syntax highlighting for Microchip Assembler source code
and normal line numbers.[code language="mpasm" start="23" fancy="7"]
foo = "bar";
baz = "foz";
[/code]Code block with syntax highlighting for Microchip Assembler source code,
line numbers starting from 23
and highlighted line numbers every 7th line.[asm]
foo = "bar";
baz = "foz";
[/asm]Code block with syntax highlighting for ASM source code. [asm start="23" fancy="7"]
foo = "bar";
baz = "foz";
[asm]Code block with syntax highlighting for ASM source code,
line numbers starting from 23
and highlighted line numbers every 7th line.- Generic syntax highlighting tags: "
Math : help
To toggle to the math mode, you must use thetag. Apart from this tag, any html code can be used.
The math commands must be separated by a space character or surrounded by {}.
Examples :
S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)}
delim{lbrace}{matrix{3}{1}{{3x-5y+z=0} {sqrt{2}x-7y+8z=0} {x-8y+9z=0}}}{ }
delim{|}{{1/N} sum{n=1}{N}{gamma(u_n)} - 1/{2 pi} int{0}{2 pi}{gamma(t) dt}}{|} <= epsilon/3[/m]
Usual commands
x+y :
x-y :
x*y :
x/y :
x^y :
x_y :
x<>y :
x>y :
x>=y :
x<y :
x<=y :
Parenthesis
visible : (x)
invisible : {x}
Math space
a~b :
Greek letters
alpha :
beta :
gamma :
delta :
epsilon :
varepsilon :
zeta :
eta :
theta :
vartheta :
iota :
kappa :
lambda :
mu :
nu :
xi :
pi :
varpi :
rho :
varrho :
sigma :
varsigma :
tau :
upsilon :
phi :
varphi :
chi :
psi :
omega :
Gamma :
Lambda :
Sigma :
Psi :
Delta :
Xi :
Upsilon :
Omega :
Theta :
Pi :
Phi :
Symbols
infty :
in :
notin :
forall :
exists :
notexists :
partial :
approx :
pm :
inter :
union :
ortho :
parallel :
backslash :
prime :
wedge :
vert :
lbrace : {
rbrace : }
circ :
varnothing :
subset :
notsubset :
cdots :
vdots :
ddots :
Arrows :
left :
right :
leftright :
doubleleft :
doubleright :
doubleleftright :
nearrow :
searrow :
Sets
bbR :
bbN :
bbZ :
bbC :
Roots
sqrt{a} :
root{n}{a} :
Limits
lim{a}{x} :
Big operators
int{a}{b}{x} :
doubleint{a}{b}{x} :
tripleint{a}{b}{x} :
oint{a}{b}{x} :
sum{a}{b}{x} :
prod{a}{b}{x} :
bigcup{a}{b}{x} :
bigcap{a}{b}{x} :
Delimiters
delim{[}{x}{]} :
delim{]}{x}{]} :
delim{[}{x}{[} :
delim{]}{x}{[} :
delim{lbrace}{x}{rbrace} :
delim{|}{x}{|} :
delim{vert}{x}{vert} :
Matrix
matrix{num of lines}{num of columns}{first_element ... last_element}
Example :
matrix{2}{3}{a b c d e f g} :
Tabular
tabular{lines description}{columns description}{first_element ... last_element}
lines description : sequence of 1 (draw the horizontal line) or 0 (don't draw the horizontal line) - the length of the sequence=num of lines+1
columns description : sequence of 1 (draw the vertical line) or 0 (don't draw the vertical line) - the length of the sequence=num of columns+1
Examples :
tabular{111}{1111}{a b c d e f g} :
tabular{1001}{101}{1 2 3 4 5 6} :
Constructions
vec{express} :
{express}under{foo} :
{express}over{foo} :
overline{express} :
underline{express} :
hat{express} :