\documentclass{article}
\begin{document}
\section*{Lorem Ipsum}
Ch\'erie, \c{c}a ne me pla\^\i t pas! % comment \b
G\"otterd\"ammerung~45\%=34.
$$
\int\limits_{0}^{\pi}\frac{4}{x-7}=3
$$
\end{document}
π¨βπΌ Information Security Manager
π¨βπ» Using Git myself, at home and at work
π Open source
πΈπͺ Talar lite svenska
In case you ever wish to verify my signatures, or grant me access to any systems π¨βπ»
PGP fingerprint |
|
SSH public key |
|
A lightweight markup language
Plain-text writing format for authoring notes, articles, reports, documentation, books, ebooks, web pages, slide decks, blog posts, man pages and more
Much more powerful than Markdown
Much more simpler than LaTeX
Originally developed by Stuart Rackham
Allows to focus more on actual writing
Avoids being distracted by complex word processors or finicky WYSIWYG editors
Writers should focus on writing, not drawing.
The main reason academics often turn to LaTeX, and developers often turn to Markdown.
Perpetual distraction by trivialities, such as:
Font families, margins, line spacings
Table column and row widths
Picture and object placings
Pasting text from another source also copies different font family, size, colour…
Word processors are the REAL writer’s block!
Created by Leslie Lamport
Taking Donald Knuth’s TeX one step further
\documentclass{article}
\begin{document}
\section*{Lorem Ipsum}
Ch\'erie, \c{c}a ne me pla\^\i t pas! % comment \b
G\"otterd\"ammerung~45\%=34.
$$
\int\limits_{0}^{\pi}\frac{4}{x-7}=3
$$
\end{document}
To be honest, I actually love LaTeX!
# Hello world
you can write text [with links](http://example.com) inline or
[link references][1].
* one _thing_ has *em*phasis
* two __things__ are **bold**
[1]: http://example.com
It is brilliant for taking notes!
It helps pentesters focus on writing observations
Predictable, simple and clean human readable plain-text
Time wasted during reporting is time wasted for pentesting
No messing around with a dumb WYSIWYG editor
No manual debugging the underlying HTML
No downtime, being dependant on a running server preventing you from saving your hard work
No losing your hard work when a colleague accidentally overwrites the same observation you’ve both been working on
Automatic substitution of known information, e.g. client names
The de facto tool to render AsciiDoc
Sadly written in Ruby, but hey…
Several extensions to render PDFs, presentations, diagrams, and much, much more
Maintained by Dan Allen, project lead
On Gentoo-based systems:
$ sudo emerge dev-ruby/asciidoctor
$ sudo layman -a 0bs1d1an # Yes, my own overlay :-D
$ sudo emerge dev-ruby/asciidoctor-pdf
On Arch-based systems:
$ sudo pacman -S --needed asciidoctor
$ sudo pacman -S --needed asciidoctor-pdf
On Debian-based systems:
$ sudo apt install asciidoctor
$ sudo apt install asciidoctor-pdf
On RHEL-based systems:
$ sudo dnf install asciidoctor
$ sudo dnf install asciidoctor-pdf
Paragraphs don't require any special markup in AsciiDoc.
A paragraph is just one or more lines of consecutive text.
To begin a new paragraph, separate by at least one line.
Newlines within a paragraph are not displayed.
Result:
Paragraphs don’t require any special markup in AsciiDoc. A paragraph is just one or more lines of consecutive text.
To begin a new paragraph, separate it by at least one blank line. Newlines within a paragraph are not displayed.
bold *constrained* & **un**constrained
italic _constrained_ & __un__constrained
bold italic *_constrained_* & **__un__**constrained
monospace `constrained` & ``un``constrained
Result:
bold constrained & unconstrained
italic constrained & unconstrained
bold italic constrained & unconstrained
monospace constrained
& un
constrained
= Document Title (Level 0)
== Level 1 Section Title
=== Level 2 Section Title
==== Level 3 Section Title
===== Level 4 Section Title
== Another Level 1 Section Title
= Hello World
This is documentation for project X.
include::basics.adoc[]
include::installation.adoc[]
include::example.adoc[]
Rubies are red, +
Topazes are blue.
[%hardbreaks]
Ruby is red.
Java is black.
Result:
Rubies are red,
Pythons are green.
Ruby is red.
Python is green.
<<<
* J.R.R. Tolkien
* Ursela K. Le Guin
* Arthur Conan Doyle
Result:
J.R.R. Tolkien
Ursela K. Le Guin
Arthur Conan Doyle
* Europe
** Finland
*** Rovaniemi
Result:
Europe
Finland
Rovaniemi
. Morning
. Afternoon
. Evening
Result:
Morning
Afternoon
Evening
. Main
.. Sub
... Subsub
Result:
Main
Sub
Subsub
https://asciidoctor.org - automatic!
https://asciidoctor.org[Asciidoctor]
https://github.com/asciidoctor[Asciidoctor @ *GitHub*]
Result:
video::video_file.mp4[]
video::video_file.mp4[width=640, start=60, end=140, options=a
utoplay]
video::dQw4w9WgXcQ[youtube]
|===
|Name of Column 1 |Name of Column 2
|Cell in column 1, row 1
|Cell in column 2, row 1
|Cell in column 1, row 2
|Cell in column 2, row 2
|===
Name of Column 1 | Name of Column 2 |
---|---|
Cell in column 1, row 1 | Cell in column 2, row 1 |
Cell in column 1, row 2 | Cell in column 2, row 2 |
:url-home: https://asciidoctor.org
:link-docs: https://asciidoctor.org/docs[documentation]
Check out {url-home}[Asciidoctor]!
Be sure to read the {link-docs} too!
Result:
Check out Asciidoctor!
Be sure to read the documentation too!
= My awesome article
Larry the Cow <larry@gentoo.org>
v1.0, 2019-10-09
:toc:
$ nvim document.adoc
:author: Larry the Cow
:email: larry@gentoo.org
:version: v1.0
:date: 2019-10-09
= Hello World
:doctype: book
{author} {email}
{version}, {date}
My name is {author}. In my spare time I enjoy:
* Eating grass
* Compiling Gentoo ebuilds
To generate your document in HTML:
$ asciidoctor document.adoc
To generate your document in PDF:
$ asciidoctor-pdf document.adoc
Practise your new skills
Play around with headers, lists, tables, links, images, videos
Try highlighting source code, substituting text
Add a table of contents, bibliography, footnotes
Convert to HTML with asciidoctor
Convert to PDF with asciidoctor-pdf