Quote:So you only need a custom BBCode to link to a pre tag with the the python brush class?Make button simelar(or replace) to shcode button that generate this.
[shcode=python]<pre class="brush: python">
#Your Python code here
</pre>[/shcode]
Quote:Did you update the server files of V4?No i just build V4,and have testet it local with Flask.
V4 is really compact after build as i mention only 2 files.
In head i call it like this.
[shcode=python]<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/theme.css') }}" />
<script src="{{ url_for('static', filename='js/syntaxhighlighter.js') }}"></script>[/shcode]
These find files i have in server folder of Flask.
In <body> i call it as show first,so it's a lot cleaner approach than old version.
So i shall test it on server later,
a little feed up now after a long session to try to fix the old version :-/