Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 700 Bytes

README.md

File metadata and controls

36 lines (30 loc) · 700 Bytes

Logica Online Tutorial Setup

Credit

Huge thanks to Vitepress

Implementation

conda create -n logica_web
conda activate logica_web
conda install conda-forge::nodejs
npm install vitepress --save-dev
npm run docs:dev

Before push

npm run docs:build
npm run docs:preview

Rendering Existing Notebook

jupyter nbconvert %target%.ipynb --to html --template=lab

After generating the HTML file, add the following CSS to the <style> section of the HTML to eliminate extra spacing:

<style>
    html, body {
        margin: 0;
        padding: 0;
        overflow: hidden; /* Avoid scrollbars inside the iframe */
    }
</style>