markdown-up 2.6.1__tar.gz → 2.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {markdown_up-2.6.1/src/markdown_up.egg-info → markdown_up-2.6.3}/PKG-INFO +1 -1
- {markdown_up-2.6.1 → markdown_up-2.6.3}/setup.cfg +1 -1
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up/app.py +0 -1
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up/main.py +5 -1
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up/static/index.html +0 -1
- {markdown_up-2.6.1 → markdown_up-2.6.3/src/markdown_up.egg-info}/PKG-INFO +1 -1
- {markdown_up-2.6.1 → markdown_up-2.6.3}/LICENSE +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/README.md +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/pyproject.toml +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up/__init__.py +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up/__main__.py +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up/api.py +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up/static/__init__.py +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up/static/markdownUpIndex.bare +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up.egg-info/SOURCES.txt +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up.egg-info/dependency_links.txt +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up.egg-info/entry_points.txt +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up.egg-info/requires.txt +0 -0
- {markdown_up-2.6.1 → markdown_up-2.6.3}/src/markdown_up.egg-info/top_level.txt +0 -0
|
@@ -195,7 +195,6 @@ def create_markdown_up_stub(filename):
|
|
|
195
195
|
<link rel="modulepreload" href="/markdown-up/markdown-model/lib/elements.js" as="script">
|
|
196
196
|
<link rel="modulepreload" href="/markdown-up/markdown-model/lib/highlight.js" as="script">
|
|
197
197
|
<link rel="modulepreload" href="/markdown-up/markdown-model/lib/parser.js" as="script">
|
|
198
|
-
<link rel="modulepreload" href="/markdown-up/schema-markdown-doc/lib/schemaMarkdownDoc.js" as="script">
|
|
199
198
|
<link rel="modulepreload" href="/markdown-up/schema-markdown/lib/encode.js" as="script">
|
|
200
199
|
<link rel="modulepreload" href="/markdown-up/schema-markdown/lib/parser.js" as="script">
|
|
201
200
|
<link rel="modulepreload" href="/markdown-up/schema-markdown/lib/schema.js" as="script">
|
|
@@ -9,6 +9,7 @@ import argparse
|
|
|
9
9
|
from functools import partial
|
|
10
10
|
import json
|
|
11
11
|
import os
|
|
12
|
+
import sys
|
|
12
13
|
import threading
|
|
13
14
|
import webbrowser
|
|
14
15
|
|
|
@@ -24,7 +25,10 @@ def main(argv=None):
|
|
|
24
25
|
"""
|
|
25
26
|
|
|
26
27
|
# Command line arguments
|
|
27
|
-
|
|
28
|
+
argument_parser_args = {'prog': 'markdown-up'}
|
|
29
|
+
if sys.version_info >= (3, 14): # pragma: no cover
|
|
30
|
+
argument_parser_args['color'] = False
|
|
31
|
+
parser = argparse.ArgumentParser(**argument_parser_args)
|
|
28
32
|
parser.add_argument('path', nargs='?', default='.',
|
|
29
33
|
help='the file or directory to view (default is ".")')
|
|
30
34
|
parser.add_argument('-p', '--port', metavar='N', type=int, default=8080,
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
<link rel="modulepreload" href="/markdown-up/markdown-model/lib/elements.js" as="script">
|
|
27
27
|
<link rel="modulepreload" href="/markdown-up/markdown-model/lib/highlight.js" as="script">
|
|
28
28
|
<link rel="modulepreload" href="/markdown-up/markdown-model/lib/parser.js" as="script">
|
|
29
|
-
<link rel="modulepreload" href="/markdown-up/schema-markdown-doc/lib/schemaMarkdownDoc.js" as="script">
|
|
30
29
|
<link rel="modulepreload" href="/markdown-up/schema-markdown/lib/encode.js" as="script">
|
|
31
30
|
<link rel="modulepreload" href="/markdown-up/schema-markdown/lib/parser.js" as="script">
|
|
32
31
|
<link rel="modulepreload" href="/markdown-up/schema-markdown/lib/schema.js" as="script">
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|