DEV Community

Jorge
Jorge

Posted on • Originally published at jorge.aguilera.soy on

A fancy pdf CV with Asciidoctor

In this post I’ll show you how to create a CV in PDF using a simple text file. No Word, no Google Docs, no Acrobat …​ only text

cv

asciidoctor-web-pdf

Install asciidoctor-web-pdf

npm i -g @asciidoctor/core asciidoctor-pdf

assets

in a folder, grab these files:

CV

in the same folder, create a text file, JorgeAguileraCV.adoc, for example, and write: (feel free to change with your data)

Header

= Software Developer Solutions
Jorge Aguilera González

[.info]
== !

=== Jorge Aguilera

[contact]
- image:mail.svg[role="picto"] jorge@edn.es
Enter fullscreen mode Exit fullscreen mode

The First line is the title of your CV

The Second line will not be visible, so you can omit but be sure to let a blank line

[.info] creates a section where you’ll insert your name

[contact] will be used to write your email

You can add another item with your phone, for example:

- image:mail.svg[role="picto"] jorge@edn.es
- image:phone.svg[role="picto"] +3491xxxxxx
Enter fullscreen mode Exit fullscreen mode

Left

We’ll use the left bar of our CV to include some tips about us, as knowledge, education, style of life …​

So append to the file following text:

==== Knowledge

- 30+ years as Developer
- C, C++, *Java*, Groovy
- *Javascript*, TypeScript, NodeJS
- Maven, Gradle
- Asciidoctor

==== OpenSource Projects

- K8s Caos Operator
- Gradle extensions
- Google DSL (Groovy)
- Asciidoctor Extensions
- MicronautRaffle

==== Publications

101-groovy-scripts blog
Enter fullscreen mode Exit fullscreen mode

About me

Now it’s time to write some sentences about us:

[.chronologie]
== !

=== About me

With more than 30 years of experience in IT, I’ve worked in many different sectors where always I
focused to bring quality and innovation ideas in every project I’ve been participated. During several
years I’ve run a one-person company offering services as technical leader and providing my
experience to improve the skills of the team, teaching good practices and applying productive tools
and languages.
Enter fullscreen mode Exit fullscreen mode

[.chronologie] will position "the cursor" at the top of the right part and we’ll start writing an "about me" sentences

Professional career

==== Professional experience

*Software Architect* at EDN (2024)

- Helping different customers in the digital transformation of their systems, migrating from monolithic application
to microservice architecture, implement best practices as code review and clean code

*Software Architect/DevOps* at Baraka (Dec 2022)

- Leading the migration of a NodeJS *Javascript* application deployed in AWS ECS to a *microservice architecture* in Kubernetes.
Enter fullscreen mode Exit fullscreen mode

Building our CV

It’s time to see how it looks:

asciidoctor-web-pdf JorgeAguilera.adoc --template-require ./template.js

INFO

This command will generate a temp HTML file

Surely you’ll need to iterate several times. My advice is to be conscious and write only a couple of sentences in every position, so the CV will have only one page

This is how mine looks

JorgeAguilera.pdf

Now is the time to send it and wait the headhunter’s call. Good luck

Top comments (0)