= Level 1
Content ...
== Level 2
Content ...
=== Level 3
Content ...
==== Level 4
Content ...
===== Level 5
Content ...
Asciidoc is a rich text based markup language. A document written with Asciidoc can easily be converted to HTML, PDF, Docbook, Mobi, Epub, and Odt formats. This cheatsheet shows you the common features of Asciidoc Markup language.
Bold , İtalic , Underscore , Top , Down
There are 6 Level titles as HTML. First one is for document title.
= Level 1
Content ...
== Level 2
Content ...
=== Level 3
Content ...
==== Level 4
Content ...
===== Level 5
Content ...
There are ordered, unordered, checked and labeled list elements.
deep 1
deep 2
deep 3
deep 4
deep 5
deep 1
Order 1
Order 2
Order 2a
Order 2b
Order 3
✓ checked
✓ checked
❏ unchecked
normal
Eski Türkçe’de "alma" diye bilinen adının, meyvenin rengi olan "al" (kırmızı)'dan geldiği bilinmektedir
Gülgiller (Rosaceae) familyasının Maloideae alt familyasında sınıflanan Pyrus cinsine ait ağaç nitelikli bitki türleriyle, bu türlerden bazılarının yenilebilir meyvelerinin ortak adı.
You can declare images with image::
prefix and []
suffix. Path may be relative or absolute .
You can declare inline or block based codes with Asciidoc syntax.
Reference code like types
or methods
inline.
public interface Hello {
void hello();
}
You can use numbered elements named callouts
in Asciidoc.
require 'sinatra' (1)
get '/hi' do (2)
"Hello World!" (3)
end
Library import
URL mapping
Content for response
Sınırlandırılmış bloklar 4’er özel karakter ile sınırlandırılmış alanlardır.
Bu blok türünün adı Example bloktur.
AspectJ dilinin kullandığı yapılar 3 kısımda toplanmıştır.
- Bunlar
Ortak, Dinamik ve Statik crosscutting (enine kesen) bölümlerdir.
Bu bölümler, içlerinde farklı bileşenleri toplayarak bizim mevcut OOP sistemimizi AOP mantığı ile harmanlamamıza imkan veriyorlar.
Asciidoc işaretleme dilinde 5 tip uyarı (admonition) bloğu bulunmaktadır. Bu blokların kendine has ikonları bulunmaktadır.
Note
|
Not bloğu
Burası bir not bloğu |
Important
|
Önemli bloğu
Burası bir önemli bloğu |
Tip
|
İpucu bloğu
Burası bir ipucu bloğu |
Caution
|
Dikkat bloğu
Burası bir dikkat bloğu |
Warning
|
Uyarı bloğu
Burası bir uyarı bloğu |
Asciidoc ile hemen hemen tüm kompleks tablo yapılarını kurabilirsiniz.
Col 1 | Col 2 | Col 3 |
---|---|---|
6 |
Three items |
d |
1 |
Item 1 |
a |
2 |
Item 2 |
b |
3 |
Item 3 |
c |
Date |
Duration |
Avg HR |
Notes |
22-Aug-08 |
10:24 |
157 |
Worked out MSHR (max sustainable heart rate) by going hard for this interval. |
22-Aug-08 |
152 |
Back-to-back with previous interval. |
|
24-Aug-08 |
none |
AsciidocFX metin editörü, UML diagramları, matematiksel kompleks formüller ve JavaFX Chart için üç özel eklentiye sahiptir.
JavaFX has 8 kind of Chart component and AsciidocFX supports all of them.
AKP, 45.6, orange CHP, 27.8,red MHP, 15.2 BDP, 4.2 SP, 2
1, 4 3, 10 6, 15 9, 8 12, 5
1, 20 3, 15 6, 13 9, 12 12, 14
For other charts and available options, look at Chart extension wiki page!
PlantUML metinsel olarak yazılan ifadelerle zengin UML diagramları oluşturmaya olanak tanıyan, Java bazlı bir teknolojidir. AsciidocFX gömülü olarak PlantUML desteklemektedir.
abstract class AbstractList abstract AbstractCollection interface List interface Collection
List <|-- AbstractList Collection <|-- AbstractCollection
Collection <|- List AbstractCollection <|- AbstractList AbstractList <|-- ArrayList
class ArrayList { Object[] elementData size() }
enum TimeUnit { DAYS HOURS MINUTES }
annotation SuppressWarnings
@startditaa -------- ------- ------- | --- ditaa --> | | | Text | +------- |diagram| |Document| |!magic!| | | | {d}| | | | | -------+ ------- ------- : ^ | Lots of work | ------------------------- @endditaa
@startdot digraph foo { node [style=rounded] node1 [shape=box] node2 [fillcolor=yellow, style="rounded,filled", shape=diamond] node3 [shape=record, label="{ a | b | c }"]
node1 -> node2 -> node3 } @enddot
MathJAX matematiksel kompleks formüllerin, metinsel olarak ifade edildiği çeşitli dilleri (MathML, Tex, AsciiMath) görsel olarak çıktılayan bir teknolojidir. AsciidocFX gömülü olarak MathJAX desteklemektedir. AsciidocFX ile MathML ve Tex biçimlerinde kompleks formülleri PNG resmi olarak eşzamanlı olarak dökümanlarınızda kullanabilirsiniz.
\begin{align} \dot{x} & = \sigma(y-x) \\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xyp \end{align}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> <mi>x</mi> <mo>=</mo> <mrow> <mfrac> <mrow> <mo>−</mo> <mi>b</mi> <mo>±</mo> <msqrt> <msup> <mi>b</mi> <mn>2</mn> </msup> <mo>−</mo> <mn>4</mn> <mi>a</mi> <mi>c</mi> </msqrt> </mrow> <mrow> <mn>2</mn> <mi>a</mi> </mrow> </mfrac> </mrow> <mtext>.</mtext> </math>
2 farklı yolla dosya sisteminin ağaç yapısını "tree" opsiyonu ile oluşturabilirsiniz.
booksample asciidoctor.css book.asc chapter-01.asc chapter-02.asc chapter-03.asc chapter-04.asc chapter-05.asc chapter-06.asc images #kodcu.png #mathml-formula.png #tex-formula.png ##uml-diagram.png
root |-- photos | |-- camp.gif | |-- festival.png | `-- balloon.jpg |-- videos | |-- car-video.avi | |-- dance.mp4 | |-- dance01.mpg | |-- another video.divx | `-- school videos | `-- firstday.flv |-- documents | |-- jsfile.js | |-- powerpoint.ppt | |-- chapter-01.asc | |-- archive-db.zip | |-- .gitignore | |-- README | `-- configuration.conf `-- etc.
Döküman geliştirilmeye ve önerilere açıktır.
Teşekkürler.
© ByteBack Group 2015. Privacy Policy | Terms of Service