searxngRebrandZaclys/searx
Markus Heiser 9215281232 [mod] replace Markdown parser mistletoe by markdown-it-py
There are several reasons why we should prefer markdown-it-py over mistletoe:

- Get identical rendering results in SearXNG's `/info` pages and the SearXNG's
  project documentation which is build by Sphinx-doc.

  In the Sphinx-doc we use the MyST parser to render Markdown and the MyST
  parser itself is built on top of the markdown-it-py package.

- markdown-it-py has a typographer that supports *replacements*
  and *smartquotes* (e.g. em-dash, copyright, ellipsis, ...) [1]

- markdown-it-py is much more flexible compared to mistletoe [2]

- markdown-it-py is the fastest CommonMark compliant parser in python [3]

[1] https://markdown-it-py.readthedocs.io/en/latest/using.html#typographic-components
[2] https://markdown-it-py.readthedocs.io/en/latest/plugins.html
[3] https://markdown-it-py.readthedocs.io/en/latest/other.html#performance

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-04-06 15:49:50 +02:00
..
answerers [fix] issue reported by pylint 22.1.0 2022-02-04 09:45:35 +01:00
data Merge pull request #1031 from dalf/fix-bing-_fetch_supported_languages 2022-04-02 08:23:58 +02:00
engines bing engine: _fetch_supported_languages: don't use the language code as a country 2022-03-31 20:03:34 +00:00
infopage [mod] replace Markdown parser mistletoe by markdown-it-py 2022-04-06 15:49:50 +02:00
metrics [enh] settings.yml: implement general.enable_metrics 2022-01-05 19:03:04 +01:00
network [mod] remove deprecate code 2022-01-29 08:54:12 +01:00
plugins [doc] add some documentation about the limiter plugin (and redis) 2022-03-25 11:26:10 +01:00
search [enh] implement a OnlineUrlSearchProcessor 2022-01-30 16:05:08 +01:00
shared [pyright:strict] searx.search.checker.background 2022-01-27 22:07:12 +01:00
static Bump grunt-contrib-uglify in /searx/static/themes/oscar 2022-04-01 11:18:35 +02:00
templates Merge pull request #1023 from austinhuang0131/master 2022-03-29 21:27:16 +02:00
translations [translations] update from Weblate 2022-04-01 07:18:22 +00:00
__init__.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
autocomplete.py [fix] brave autocompleter: charset_normalizer issues 2022-01-23 17:22:13 +01:00
babel_extract.py [mod] move category and names of constants to searx/searxng.msg 2022-03-16 09:55:53 +01:00
compat.py [fix] add module for backward compatibility 2022-03-12 15:45:28 +01:00
exceptions.py [pyright:strict] searx.search.checker.background 2022-01-27 22:07:12 +01:00
external_bang.py [fix] external bangs: don't overwrite Bangs in data trie 2022-01-12 19:37:13 +01:00
external_urls.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
flaskfix.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
languages.py Update languages 2022-03-31 20:04:46 +00:00
locales.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
preferences.py [mod] infinite_scroll as preference 2022-02-20 22:58:51 +01:00
query.py [mod] add flags to the languages filter 2022-03-19 15:09:13 +01:00
results.py [simple theme] replace Image_layout.js with flexbox CS impl. 2022-02-26 22:31:47 +01:00
searxng.msg [mod] move category and names of constants to searx/searxng.msg 2022-03-16 09:55:53 +01:00
settings_defaults.py [interim fix] static files can't be delivered by HTTP. 2022-03-20 16:28:14 +01:00
settings_loader.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
settings.yml Merge pull request #999 from return42/fix-doc-settings2 2022-03-26 17:09:07 +01:00
unixthreadname.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
utils.py [mod] searx.utils: more typing 2022-01-30 22:14:12 +01:00
version.py [mod] version formatting 2022-02-21 21:18:37 +01:00
webadapter.py [fix] disabling all engines in a category makes the bang search in general 2022-01-03 20:23:46 +01:00
webapp.py Unquote path on result page. 2022-04-05 02:37:18 +08:00
webutils.py [mod] URL for the static file contains the sha1 2022-03-05 10:50:48 +00:00