Giter Site home page Giter Site logo

victor-danilov / unipr-org.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unipr-org/unipr-org.github.io

0.0 0.0 0.0 5.48 MB

unipr-org's website

Home Page: https://unipr-org.github.io/

License: MIT License

Shell 10.27% JavaScript 6.37% Ruby 5.71% HTML 29.04% SCSS 48.60%

unipr-org.github.io's Introduction

Esecuzione in locale

Prima di eseguire in locale il nostro sito dobbiamo:

  1. Installare Jekyll.
  2. Installare Ruby.
  3. Installare Bundle (dovrebbe installarsi da solo con l'installazione di Ruby).
  4. [Opzionale] Creare un sito Jekyll per il supporto della live preview. Questo progetto è stato creato in questo modo.

Successivamente, eseguiamo i comandi nella directory che contiene il progetto:

bundle install
bundle add webrick
bundle exec jekyll serve

Ora possiamo vedere una preview del sito al seguente indirizzo http://localhost:4000.


Supporto per Latex

Aggiungere nella sezione <head> del file _layouts/default.html il seguente script:

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
        tex2jax: {
        skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
        inlineMath: [['$','$']]
        }
    });
</script>
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script> 

Ora è possibile utilizzare formule latex con la stessa sintassi di Obsidian: ${formula_in_LaTeX}$.


Supporto per ToC (Table of Content)

Aggiungere nel file _config.yml la seguente configurazione:

markdown: kramdown

Ora è possibile far generare un indice dinamico aggiungendo le seguenti righe di codice all'inizio del file index.md interessato:

* Table of Content
{:toc}

Contributors

Made with [contrib.rocks](https://contrib.rocks).

unipr-org.github.io's People

Contributors

merendamattia avatar simonecolli avatar manueldiagostino avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.