joaju 0.1.0

A scientific academic compiler and typographical orchestrator in Rust for Typst, clinical pedigrees, and tables
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function copyCode(btn) {
  const codeBlock = btn.closest('.code-block');
  if (!codeBlock) return;
  const code = codeBlock.querySelector('code');
  if (!code) return;

  navigator.clipboard.writeText(code.innerText).then(() => {
    const originalText = btn.textContent;
    btn.textContent = 'Copiado!';
    btn.style.borderColor = '#10b981';
    btn.style.color = '#34d399';
    setTimeout(() => {
      btn.textContent = originalText;
      btn.style.borderColor = '';
      btn.style.color = '';
    }, 2000);
  });
}