A repository that prints source code in terminal prettier
First clone repository from github or download sources from release
then run the following command
sudo python3 setup.py install
python setup.py install
catcode [File Name] [--name] [--icon] [--flx[Langauge Name]]
python3 catcode.py [File Name] [--name] [--icon] [--flx[Langauge Name]]
- cpp
- python3
- javascript (beta)
The customization must be done before the installation for now.
Copy the empty_config.py
file and rename it to [language name]_config.py
Edit the content of the file
Add the following code to the config.py
from .default_config import DEFAULT
from .cpp_config import cpp
from .python3_config import python3
from .javascript_config import javascript
from .[langauge name]_config import [language name] # modified
class Export:
def language_config(self) -> dict:
return {
'cpp': cpp,
'python3': python3,
'javascript': javascript,
'DEFAULT': DEFAULT,
'[language name]': [language name], # modified
}
...