Skip to content

Instantly share code, notes, and snippets.

Created May 3, 2021 17:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Crear PDF con Node.js</title>
img {
max-height: 250px;
<h1>Creando PDF con Node.js</h1>
<a href="">By Parzibyte</a>
<p>Soy HTML que será convertido a un PDF</p>
<p>El valor pasado por Node es: {{valor}}</p>
const saludo = "Hola mundo";
<p>También puedes usar imágenes de internet:</p>
<img src="" alt="Imagen de Parzibyte">
<p>O imágenes locales:</p>
<img src="file:///C:/Users/parzibyte/Documents/desarrollo/node/crear-pdf/abeja.jpg" alt="Imagen de una abeja">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment