Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 847 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 847 Bytes

Empty tutorial

A simple PyQt application to make SOFA tutorials. The tutorial is based on markdown files, whose path are filled in the file tutorial.py.

Requirements

Have SOFA installed, and the path to runSofa in the PATH system variable.

Install :

  • python3-pyqt5
  • python3-pyqt5.qtwebchannel
  • python3-pyqt5.qtwebengine

How to

python3 tutorial.py

To highlight a section of the tutorial, in the markdown file, use the following html code :

<div class="highlight-content">
<strong>Title</strong> 

The text you want to highlight.
    
</div>

To create an exercise section (with open in editor and runSofa buttons), in the markdown file, use the following html code :

<div class="exercise-content">
<strong>Exercise</strong>

Your exercise. 
    
</div>