I was able to stand on the shoulders of giants (Rapp 2022) (Navarro 2022), (Hill 2022), (Kaye 2022) when I migrated this blog.
Markdown
- Quarto’s markdown isn’t my favorite markdown implementation.
- It is based on pandoc spec
The devil is in the details
There are lots of details that should be in the guide that are scattered all over the quarto site.
I decided that all posts should have the following fields in their front matter:
- title
- subtitle
- description
- date
- categories
- image
- image-description
Virtual Environments
- are documented here
- ideal one can have one virtual environment for the whole site
Lightbox Galleries
so far I used this only in the this page
the light box plugin was integrated into Quarto in the version 4.1 which I migrated to. I have been using light box to make notes of talks and so on. So in for this blog adding light boxes is a breeze.
All that’s really needed is to change setting in the frontmatter:
: true lightbox
which I did for all posts by adding the setting to the _metadata.yaml
in the posts directory. And now all images default to opening within their own lightbox when clicked upon.
to disable the feature say, on a logo for example just add .no-lightbox
css style to the image like this:
![caption](filename.png){.no-lightbox}
if you want to be able to scroll through a series of images we need to decorate each images as follows:
![caption](filename.png){group="my-gallery"}
An added bonus is that it is possible to zoom into these light-boxed images
Extras
- the about page is based on postcards package
- icons for navigation come from bootstrap
- cover images are from pexels
Open issues:
- can I readily integrate books and presentation into this blog ?
- can I drop them in or do I need to build them in another repo
- then deploy
- then link!?
- how about embedding repls
- how about embedding shiny live apps
https://github.com/shafayetShafee
Embedding PDF
installation
quarto add jmgirard/embedpdf
{{< pdf dummy.pdf >}}
{{< pdf dummy.pdf width=100% height=800 >}}
{{< pdf dummy.pdf border=1 >}}
{{< pdf dummy.pdf class=myclass >}}
Citation
@online{bochman2024,
author = {Bochman, Oren},
title = {The {Great} {Migration}},
date = {2024-01-30},
url = {https://orenbochman.github.io/posts/2023/2023-05-10-migration-notes/},
langid = {en}
}