Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalci committed Aug 7, 2023
1 parent d4795d0 commit d8e2dd7
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 35 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ output_type <- knitr::opts_knit$get("rmarkdown.pandoc.to")


```{r template screenshot, eval=TRUE, include=FALSE}
if (!file.exists("./screenshots/template_screenshot.png")) {
if (!file.exists("./screenshots/thumbnail_template.png")) {
webshot2::webshot(
url = "https://images.patolojiatlasi.com/template/HE.html",
file = "./screenshots/template_screenshot.png"
file = "./screenshots/thumbnail_template.png"
)
}
```
Expand All @@ -101,7 +101,7 @@ knitr::include_url(url = "https://images.patolojiatlasi.com/template/HE.html")
```{comment, echo=FALSE, include=FALSE, eval=FALSE}
#| label: template_screenshot
#| fig-cap: "TemplateTR"
knitr::include_graphics("./screenshots/template_screenshot.png")
knitr::include_graphics("./screenshots/thumbnail_template.png")
```


Expand All @@ -120,7 +120,7 @@ TemplateTR
**templateTR**
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/template_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE.html)
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_template.png){width="25%"}](https://images.patolojiatlasi.com/template/HE.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE.html)
```


Expand All @@ -139,7 +139,7 @@ asis, echo = (language == "TR")
**templateTR**
[![İşaretlenmiş mikroskopik görüntüleri Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/template_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE_annotated.html) [İşaretlenmiş mikroskopik görüntüleri Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE_annotated.html)
[![İşaretlenmiş mikroskopik görüntüleri Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_template.png){width="25%"}](https://images.patolojiatlasi.com/template/HE_annotated.html) [İşaretlenmiş mikroskopik görüntüleri Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE_annotated.html)
```

```{comment}
Expand Down Expand Up @@ -173,7 +173,7 @@ asis, echo = (language == "TR")
**templateEN**
[![Click for Full Screen WSI](./screenshots/template_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE.html)
[![Click for Full Screen WSI](./screenshots/thumbnail_template.png){width="25%"}](https://images.patolojiatlasi.com/template/HE.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE.html)
```
Expand All @@ -194,7 +194,7 @@ asis, echo = (language == "EN")
**templateEN**
[![Click for Full Screen Annotated WSI](./screenshots/template_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE_annotated.html) [Click for Full Screen Annotated WSI](https://images.patolojiatlasi.com/template/HE_annotated.html)
[![Click for Full Screen Annotated WSI](./screenshots/thumbnail_template.png){width="25%"}](https://images.patolojiatlasi.com/template/HE_annotated.html) [Click for Full Screen Annotated WSI](https://images.patolojiatlasi.com/template/HE_annotated.html)
```


Expand Down
16 changes: 8 additions & 8 deletions generate_qmd.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ screenshot_string <- '
```{r {{template}} screenshot {{stain}}, eval=TRUE, include=FALSE}
if (!file.exists("./screenshots/{{template}}-{{stain}}_screenshot.png")) {
if (!file.exists("./screenshots/thumbnail_{{template}}-{{stain}}.png")) {
webshot2::webshot(
url = "https://images.patolojiatlasi.com/{{template}}/{{stain}}.html",
file = "./screenshots/{{template}}-{{stain}}_screenshot.png"
file = "./screenshots/thumbnail_{{template}}-{{stain}}.png"
)
}
```
Expand Down Expand Up @@ -154,7 +154,7 @@ wsi_link_string <- '
**{{TemplateTR}}**
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/{{template}}-{{stain}}_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ![](./qrcodes/{{template}}-{{stain}}_qrcode.svg){width="15%"}
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_{{template}}-{{stain}}.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ![](./qrcodes/{{template}}-{{stain}}_qrcode.svg){width="15%"}
```
Expand All @@ -164,7 +164,7 @@ wsi_link_string <- '
**{{TemplateEN}}**
[![Click for Full Screen WSI](./screenshots/{{template}}-{{stain}}_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ![](./qrcodes/{{template}}-{{stain}}_qrcode.svg){width="15%"}
[![Click for Full Screen WSI](./screenshots/thumbnail_{{template}}-{{stain}}.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) ![](./qrcodes/{{template}}-{{stain}}_qrcode.svg){width="15%"}
```
Expand Down Expand Up @@ -515,10 +515,10 @@ asis {{TemplateEN}} , echo = (language == "EN")
```
r {{template}} screenshot {{stain}}, eval=TRUE, include=FALSE
if (!file.exists("./screenshots/{{template}}-{{stain}}_screenshot.png")) {
if (!file.exists("./screenshots/thumbnail_{{template}}-{{stain}}.png")) {
webshot2::webshot(
url = "https://images.patolojiatlasi.com/{{template}}/{{stain}}.html",
file = "./screenshots/{{template}}-{{stain}}_screenshot.png"
file = "./screenshots/thumbnail_{{template}}-{{stain}}.png"
)
}
```
Expand Down Expand Up @@ -548,15 +548,15 @@ asis, echo = (language == "TR")
**{{TemplateTR}}**
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/{{template}}-{{stain}}_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html)
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_{{template}}-{{stain}}.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html)
```
```
asis, echo = (language == "EN")
**{{TemplateEN}}**
[![Click for Full Screen WSI](./screenshots/{{template}}-{{stain}}_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html)
[![Click for Full Screen WSI](./screenshots/thumbnail_{{template}}-{{stain}}.png){width="25%"}](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/{{template}}/{{stain}}.html)
```
Expand Down
16 changes: 8 additions & 8 deletions newfile.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ output_type <- knitr::opts_knit$get("rmarkdown.pandoc.to")


```{r template screenshot HE1, eval=TRUE, include=FALSE}
if (!file.exists("./screenshots/template-HE1_screenshot.png")) {
if (!file.exists("./screenshots/thumbnail_template-HE1.png")) {
webshot2::webshot(
url = "https://images.patolojiatlasi.com/template/HE1.html",
file = "./screenshots/template-HE1_screenshot.png"
file = "./screenshots/thumbnail_template-HE1.png"
)
}
```
Expand All @@ -36,7 +36,7 @@ webshot2::webshot(
**TemplateTR**
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/template-HE1_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE1.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE1.html)
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_template-HE1.png){width="25%"}](https://images.patolojiatlasi.com/template/HE1.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE1.html)
```


Expand All @@ -52,7 +52,7 @@ Mikroskopik görüntüleri inceleyin:
**TemplateEN**
[![Click for Full Screen WSI](./screenshots/template-HE1_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE1.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE1.html)
[![Click for Full Screen WSI](./screenshots/thumbnail_template-HE1.png){width="25%"}](https://images.patolojiatlasi.com/template/HE1.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE1.html)
```

Expand All @@ -71,10 +71,10 @@ See Microscopy with viewer:


```{r template screenshot HE2, eval=TRUE, include=FALSE}
if (!file.exists("./screenshots/template-HE2_screenshot.png")) {
if (!file.exists("./screenshots/thumbnail_template-HE2.png")) {
webshot2::webshot(
url = "https://images.patolojiatlasi.com/template/HE2.html",
file = "./screenshots/template-HE2_screenshot.png"
file = "./screenshots/thumbnail_template-HE2.png"
)
}
```
Expand All @@ -86,7 +86,7 @@ webshot2::webshot(
**TemplateTR**
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/template-HE2_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE2.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE2.html)
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_template-HE2.png){width="25%"}](https://images.patolojiatlasi.com/template/HE2.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/template/HE2.html)
```


Expand All @@ -102,7 +102,7 @@ Mikroskopik görüntüleri inceleyin:
**TemplateEN**
[![Click for Full Screen WSI](./screenshots/template-HE2_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/template/HE2.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE2.html)
[![Click for Full Screen WSI](./screenshots/thumbnail_template-HE2.png){width="25%"}](https://images.patolojiatlasi.com/template/HE2.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/template/HE2.html)
```

Expand Down
24 changes: 12 additions & 12 deletions newqmd.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ output_type <- knitr::opts_knit$get("rmarkdown.pandoc.to")


```{r deneme screenshot ER, eval=TRUE, include=FALSE}
if (!file.exists("./screenshots/deneme-ER_screenshot.png")) {
if (!file.exists("./screenshots/thumbnail_deneme-ER.png")) {
webshot2::webshot(
url = "https://images.patolojiatlasi.com/deneme/ER.html",
file = "./screenshots/deneme-ER_screenshot.png"
file = "./screenshots/thumbnail_deneme-ER.png"
)
}
```
Expand All @@ -89,10 +89,10 @@ webshot2::webshot(


```{r deneme screenshot PR, eval=TRUE, include=FALSE}
if (!file.exists("./screenshots/deneme-PR_screenshot.png")) {
if (!file.exists("./screenshots/thumbnail_deneme-PR.png")) {
webshot2::webshot(
url = "https://images.patolojiatlasi.com/deneme/PR.html",
file = "./screenshots/deneme-PR_screenshot.png"
file = "./screenshots/thumbnail_deneme-PR.png"
)
}
```
Expand All @@ -103,10 +103,10 @@ webshot2::webshot(


```{r deneme screenshot CMV, eval=TRUE, include=FALSE}
if (!file.exists("./screenshots/deneme-CMV_screenshot.png")) {
if (!file.exists("./screenshots/thumbnail_deneme-CMV.png")) {
webshot2::webshot(
url = "https://images.patolojiatlasi.com/deneme/CMV.html",
file = "./screenshots/deneme-CMV_screenshot.png"
file = "./screenshots/thumbnail_deneme-CMV.png"
)
}
```
Expand All @@ -131,14 +131,14 @@ webshot2::webshot(
**deneme TR**
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/deneme-ER_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/ER.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/ER.html)
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_deneme-ER.png){width="25%"}](https://images.patolojiatlasi.com/deneme/ER.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/ER.html)
```

```{asis, echo = (language == "EN")}
**deneme EN**
[![Click for Full Screen WSI](./screenshots/deneme-ER_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/ER.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/ER.html)
[![Click for Full Screen WSI](./screenshots/thumbnail_deneme-ER.png){width="25%"}](https://images.patolojiatlasi.com/deneme/ER.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/ER.html)
```

Expand All @@ -152,14 +152,14 @@ webshot2::webshot(
**deneme TR**
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/deneme-PR_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/PR.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/PR.html)
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_deneme-PR.png){width="25%"}](https://images.patolojiatlasi.com/deneme/PR.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/PR.html)
```

```{asis, echo = (language == "EN")}
**deneme EN**
[![Click for Full Screen WSI](./screenshots/deneme-PR_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/PR.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/PR.html)
[![Click for Full Screen WSI](./screenshots/thumbnail_deneme-PR.png){width="25%"}](https://images.patolojiatlasi.com/deneme/PR.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/PR.html)
```

Expand All @@ -173,14 +173,14 @@ webshot2::webshot(
**deneme TR**
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/deneme-CMV_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/CMV.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/CMV.html)
[![Tam Ekran Görmek İçin Resmi Tıklayın](./screenshots/thumbnail_deneme-CMV.png){width="25%"}](https://images.patolojiatlasi.com/deneme/CMV.html) [Tam Ekran Görmek İçin Resmi Tıklayın](https://images.patolojiatlasi.com/deneme/CMV.html)
```

```{asis, echo = (language == "EN")}
**deneme EN**
[![Click for Full Screen WSI](./screenshots/deneme-CMV_screenshot.png){width="25%"}](https://images.patolojiatlasi.com/deneme/CMV.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/CMV.html)
[![Click for Full Screen WSI](./screenshots/thumbnail_deneme-CMV.png){width="25%"}](https://images.patolojiatlasi.com/deneme/CMV.html) [Click for Full Screen WSI](https://images.patolojiatlasi.com/deneme/CMV.html)
```

Expand Down

0 comments on commit d8e2dd7

Please sign in to comment.