calcmd.py

Created by yannis300307

Created on August 12, 2024

11.9 KB

CalcMardown

CalcMarkdown is a python script that is able to read markdown documents and display them on your calculator with the markdown formating.

You can create issues and Pull requests on the github repository.

Features

It supports basic mardown formating: - Titles - Titles 2 - Titles 3 - Bold text - Strike text

I will implement more syntax in the future.

The markdown parser is not perfectly acurate!

It is not currently able to process a lot of features such as lists, italic text or escaping formating characters.

Compatibility

The script has been tested on N0110 and it seems to crash on emulator.

You should not try to open the script directly on your calculator because It makes the code editor very buggy due to very looooong line.

How to use?

Download the script on your calculator and create another Python script with the name of your choise.

In this file, type doc="""markdown""". Replace markdown with you markdown document. You can use line returns. Next, run calcmd.py and give the python file name as the document name (without the .py) and your document is displayed!


During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.