-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from qmd-lab/feature-image-zoom
Add image zooming feature
- Loading branch information
Showing
5 changed files
with
102 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: "Minard's Map" | ||
format: | ||
closeread-html | ||
--- | ||
|
||
|
||
:::{.cr-layout} | ||
|
||
There once was a French engineer names Charles Minard who put his mind to creating a map that illustrated Napoleon's retreat from Moscow. | ||
|
||
:::{focus-on="map"} | ||
Here is Minard's Map. | ||
::: | ||
|
||
:::{#cr-map} | ||
![](minard-map.png) | ||
::: | ||
|
||
:::{focus-on="map" pan-to="-30%,0%" scale-by="2.6"} | ||
Here is the city of Smolensk. | ||
::: | ||
|
||
:::{focus-on="map" pan-to="40%,110%" scale-by="2.6"} | ||
Here is the signature of the creator: Monsieur Minard. | ||
::: | ||
|
||
:::{focus-on="map" style="padding-block-end: 85svh"} | ||
It is a masterpiece of data visualization. | ||
::: | ||
|
||
::: | ||
|
||
## Le Fin |