Nessuna descrizione

theenglishway (time) e69f674264 Change CV format to YAML instead of JSON 2 anni fa
.vscode 98f6350a37 Ensure code is recompiled on save 2 anni fa
examples 8c40e32fb7 Switch to a much simpler pipeline with Pug 2 anni fa
.gitignore 3e70f28ed7 Use Puppeteer to generate the PDF file 2 anni fa
.prettierrc.json 8c40e32fb7 Switch to a much simpler pipeline with Pug 2 anni fa
LICENSE 8c40e32fb7 Switch to a much simpler pipeline with Pug 2 anni fa
README.md e69f674264 Change CV format to YAML instead of JSON 2 anni fa
package-lock.json e69f674264 Change CV format to YAML instead of JSON 2 anni fa
package.json e69f674264 Change CV format to YAML instead of JSON 2 anni fa
run.sh 8c40e32fb7 Switch to a much simpler pipeline with Pug 2 anni fa
to_pdf.js e69f674264 Change CV format to YAML instead of JSON 2 anni fa

README.md

My Resume

Run ./run.sh in development mode.

Run ./to_pdf.js in order to export the resume both in .html and .pdf formats

YAML syntax

There are many ways to print a multi-line string in YAML, but this one seems the most natural (beware of trailing spaces, though !) :

  summary: >-
    The first line
    which can
    be written on many lines.

    The second line which
    can also be split.

    The last line.

This will be parsed as :

    {
    summary: 'The first line  which can  be written on many lines.\n' +
        'The second line which can also be split.\n' +
        'The last line.'
    }