The blog sites can render markdown and transfer it to html.
As you can see, it can render inline code like print('hello')
, code fence like
from django.contrib import admin
from django.urls import path, include
= [
urlpatterns 'admin/', admin.site.urls),
path('api/', include('apis.urls')),
path('pipeline/', include('dataPipeline.urls')),
path('', include('webview.urls'))
path( ]
Thanks to mathjax, it can also render the mathematic formulas. For example, inline formula like \(\frac{a}{b^c}\) or formula lines like \[ \frac{a}{x}+bx\geq 2\sqrt{ab}\quad (x>0) \]
This is achieved with the help of pandoc as well as its python wrapper: pypandoc.