Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalci committed Aug 6, 2023
1 parent 23616d7 commit 6dd2145
Show file tree
Hide file tree
Showing 280 changed files with 40,659 additions and 7,358 deletions.
1 change: 0 additions & 1 deletion EN/CNAME

This file was deleted.

143 changes: 123 additions & 20 deletions EN/acute-inflammation.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.3.450">
<meta name="generator" content="quarto-1.4.176">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<meta name="dcterms.date" content="2023-08-05">
<meta name="dcterms.date" content="2023-08-06">
<meta name="description" content="Acute Inflammation, Akut İnflamasyon, patoloji, atlas, pathology, whole slide image">

<title>Histopathology Atlas - 10&nbsp; Acute Inflammation</title>
Expand Down Expand Up @@ -52,6 +52,9 @@
"panel-placement": "end",
"type": "overlay",
"limit": 20,
"keyboard-shortcut": [
null
],
"language": {
"search-no-results-text": "No results",
"search-matching-documents-text": "matching documents",
Expand All @@ -66,6 +69,11 @@
}
}</script>
<script async="" src="https://hypothes.is/embed.js"></script>
<script>
window.document.addEventListener("DOMContentLoaded", function (_event) {
document.body.classList.add('hypothesis-enabled');
});
</script>
<link rel="apple-touch-icon" sizes="180x180" href="./images/apple-touch-icon_EN.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32_EN.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16_EN.png">
Expand Down Expand Up @@ -96,17 +104,17 @@

<meta property="og:title" content="Histopathology Atlas - 10&nbsp; Acute Inflammation">
<meta property="og:description" content="Atlas of Pathology with Whole Slide Images Histopathology Atlas and Notes for Medical Students: See and Learn Atlas of Histopathology Notes for Pathology Pathology Lecture Notes and Histopathology Atlas is being prepared from Memorial Pathology Archive and collaborators from other institutions.">
<meta property="og:image" content="https://histopathologyatlas.com/screenshots/acute-appendicitis_screenshot.png">
<meta property="og:site-name" content="Histopathology Atlas">
<meta property="og:image:height" content="744">
<meta property="og:image:width" content="992">
<meta property="og:image" content="https://histopathologyatlas.com/images/coverEN.png">
<meta property="og:site_name" content="Histopathology Atlas">
<meta property="og:image:height" content="794">
<meta property="og:image:width" content="1268">
<meta name="twitter:title" content="Histopathology Atlas - 10&nbsp; Acute Inflammation">
<meta name="twitter:description" content="Atlas of Pathology with Whole Slide Images Histopathology Atlas and Notes for Medical Students: See and Learn Atlas of Histopathology Notes for Pathology Pathology Lecture Notes and Histopathology Atlas is being prepared from Memorial Pathology Archive and collaborators from other institutions.">
<meta name="twitter:image" content="https://histopathologyatlas.com/screenshots/acute-appendicitis_screenshot.png">
<meta name="twitter:image" content="https://histopathologyatlas.com/images/coverEN.png">
<meta name="twitter:creator" content="%40serdarbalci">
<meta name="twitter:site" content="%40patolojinotlari">
<meta name="twitter:image-height" content="744">
<meta name="twitter:image-width" content="992">
<meta name="twitter:image-height" content="794">
<meta name="twitter:image-width" content="1268">
<meta name="twitter:card" content="summary_large_image">
</head>

Expand All @@ -119,9 +127,9 @@
<button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<i class="bi bi-layout-text-sidebar-reverse"></i>
</button>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./acute-inflammation.html">Inflamation</a></li><li class="breadcrumb-item"><a href="./acute-inflammation.html"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Acute inflammation</span></a></li></ol></nav>
<a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
</a>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./acute-inflammation.html">Inflamation</a></li><li class="breadcrumb-item"><a href="./acute-inflammation.html"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Acute inflammation</span></a></li></ol></nav>
<a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
</a>
<button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();">
<i class="bi bi-search"></i>
</button>
Expand Down Expand Up @@ -872,7 +880,7 @@ <h2 id="toc-title">Table of contents</h2>
<!-- main -->
<main class="content column-body" id="quarto-document-content">

<header id="title-block-header" class="quarto-title-block default">
<header id="title-block-header" class="quarto-title-block default"><nav class="quarto-page-breadcrumbs quarto-title-breadcrumbs d-none d-lg-block" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./acute-inflammation.html">Inflamation</a></li><li class="breadcrumb-item"><a href="./acute-inflammation.html"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Acute inflammation</span></a></li></ol></nav>
<div class="quarto-title">
<h1 class="title"><span id="sec-acute-inflammation" class="quarto-section-identifier"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Acute Inflammation</span></span></h1>
<div class="quarto-categories">
Expand All @@ -885,13 +893,13 @@ <h1 class="title"><span id="sec-acute-inflammation" class="quarto-section-identi



<div class="quarto-title-meta">
<div class="quarto-title-meta column-body">


<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">August 5, 2023</p>
<p class="date">August 6, 2023</p>
</div>
</div>

Expand Down Expand Up @@ -969,6 +977,33 @@ <h2 data-number="10.1" class="anchored" data-anchor-id="sec-acute-appendicitis">
}
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(darkModeDefault) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
}
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
Expand Down Expand Up @@ -1035,13 +1070,15 @@ <h2 data-number="10.1" class="anchored" data-anchor-id="sec-acute-appendicitis">
return localAlternateSentinel;
}
}
let localAlternateSentinel = 'default';
const darkModeDefault = false;
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
};
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
Expand Down Expand Up @@ -1120,10 +1157,9 @@ <h2 data-number="10.1" class="anchored" data-anchor-id="sec-acute-appendicitis">
// clear code selection
e.clearSelection();
});
function tippyHover(el, contentFn) {
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
const config = {
allowHTML: true,
content: contentFn,
maxWidth: 500,
delay: 100,
arrow: false,
Expand All @@ -1133,8 +1169,17 @@ <h2 data-number="10.1" class="anchored" data-anchor-id="sec-acute-appendicitis">
interactive: true,
interactiveBorder: 10,
theme: 'quarto',
placement: 'bottom-start'
placement: 'bottom-start',
};
if (contentFn) {
config.content = contentFn;
}
if (onTriggerFn) {
config.onTrigger = onTriggerFn;
}
if (onUntriggerFn) {
config.onUntrigger = onUntriggerFn;
}
window.tippy(el, config);
}
const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]');
Expand All @@ -1148,6 +1193,60 @@ <h2 data-number="10.1" class="anchored" data-anchor-id="sec-acute-appendicitis">
const note = window.document.getElementById(id);
return note.innerHTML;
});
}
const xrefs = window.document.querySelectorAll('a.quarto-xref');
const processXRef = (id, note) => {
if (id.startsWith('sec-')) {
// Special case sections, only their first couple elements
const container = document.createElement("div");
if (note.children && note.children.length > 2) {
for (let i = 0; i < 2; i++) {
container.appendChild(note.children[i].cloneNode(true));
}
return container.innerHTML
} else {
return note.innerHTML;
}
} else {
return note.innerHTML;
}
}
for (var i=0; i<xrefs.length; i++) {
const xref = xrefs[i];
tippyHover(xref, undefined, function(instance) {
instance.disable();
let url = xref.getAttribute('href');
let hash = undefined;
try { hash = new URL(url).hash; } catch {}
const id = hash.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
if (note !== null) {
try {
const html = processXRef(id, note);
instance.setContent(html);
} finally {
instance.enable();
instance.show();
}
} else {
// See if we can fetch this
fetch(url.split('#')[0])
.then(res => res.text())
.then(html => {
const parser = new DOMParser();
const htmlDoc = parser.parseFromString(html, "text/html");
const note = htmlDoc.getElementById(id);
if (note !== null) {
const html = processXRef(id, note);
instance.setContent(html);
}
}).finally(() => {
instance.enable();
instance.show();
});
}
}, function(instance) {
});
}
let selectedAnnoteEl;
const selectorForAnnotation = ( cell, annotation) => {
Expand Down Expand Up @@ -1190,6 +1289,7 @@ <h2 data-number="10.1" class="anchored" data-anchor-id="sec-acute-appendicitis">
}
div.style.top = top - 2 + "px";
div.style.height = height + 4 + "px";
div.style.left = 0;
let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter");
if (gutterDiv === null) {
gutterDiv = window.document.createElement("div");
Expand Down Expand Up @@ -1307,7 +1407,9 @@ <h2 data-number="10.1" class="anchored" data-anchor-id="sec-acute-appendicitis">
</div> <!-- /content -->
<footer class="footer">
<div class="nav-footer">
<div class="nav-footer-left">Copyright 2022, patolojiAI</div>
<div class="nav-footer-left">
<p>Copyright 2022, patolojiAI</p>
</div>
<div class="nav-footer-center">
&nbsp;
</div>
Expand All @@ -1319,4 +1421,5 @@ <h2 data-number="10.1" class="anchored" data-anchor-id="sec-acute-appendicitis">




</body></html>
Loading

0 comments on commit 6dd2145

Please sign in to comment.