From b516ab26a81e093b4cd233f5d64aff4f8181590f Mon Sep 17 00:00:00 2001 From: Jaap Marsman Date: Sun, 7 May 2023 12:15:43 +0800 Subject: [PATCH] fixed the Pinterest instructions in the README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 906b554..3920581 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,12 @@ Install steps: 4. Make sure your CSV file contains a correct image link + alt-text description for the image you want to pin 5. Copy & modify the pinterest.css file to your liking. It helps to centrally manage your pin image sizes. You may not want this, so feel free to remove/adjust. +You can then call the pinterest-image in your Rmd file as follows, where **xx** equals the ID for your download: + +``` +`r pinterest(xx)` +``` + ## Downloads A very basic downloads manager. It doesn't depend on a database to function, but on a CSV file. Examples included. By linking your PDF/ZIP/DOCX downloads into the CSV file, you are able to easily call up a nice-looking download-box anywhere on any page linking to your resource. It includes the option to have a screenshot (max height/width set to 150px) for your file too.