![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
This program was created in the context of the code competition of it-talents.com in April 2017. It is split into two main components. The parser side takes the Markdown input and creates an internal representation. The transform component uses the internal representation and creates the HTML output.
In general the system is designed to be modular and expandable. For example a transformation for LaTeX could be relatively easily added.
Easy way ^^^^^^^^
Use the package manager of Python::
pip install twomartens.markdown
A bit more complicated ^^^^^^^^^^^^^^^^^^^^^^
PyPi <https://pypi.python.org/pypi/twomartens.markdown/>
_python setup.py install
from the directory you extracted the files toThe Git way (No actual installation) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GitHub repository <https://github.com/frmwrk123/markdown-parser>
_python markdown-runner.py
to use the toolThe usage is very easy. Once installed you can use tm-parse-markdown
to access the program. Alternatively use
python markdown-runner.py
instead if you followed the Git way. The rest applies to both forms in the same way.
The program accepts two parameters. The first needs to be the name of a file containing Markdown code. The second
parameter has to be the name of the output file. The file doesn't have to exist already but if it does it will be
overwritten completely. The output file will contain the markup in the selected output format (as of now it is always
HTML).
To allow for easier extension the program accepts the -f, --format
option. It can be used to specify the output
format. Currently only HTML is supported which is also selected by default. Therefore it is not required to specify
the option for the program to work.
Example::
tm-parse-markdown my-markdown-file.md my-html-file.html
Example (with option)::
tm-parse-markdown --format html my-markdown-file.md my-html-file.html
The markdown parser supports the following syntax. More might be added later.
Headings ^^^^^^^^
All headings from H1 to H6 are supported.
Examples::
Bold text ^^^^^^^^^
Bold text is supported.
Example::
**bold text**
the **bold text** can even appear in normal paragraphs
Italic text ^^^^^^^^^^^
Italic text is supported.
Example::
some italic text the italic text can also appear in paragraphs
Inline code ^^^^^^^^^^^
Inline code segments are supported.
Example::
a paragraph with inline code
Links ^^^^^
The parser supports links.
Example::
a paragraph with a link
another with another link or for change an automatic link https://example.com
Lists ^^^^^
Both unordered and ordered lists are supported. The list items for unordered lists have to start their line with
*
, -
or +
immediately followed by a space. These symbols can be used interchangeably even within one list.
An empty line must precede a list.
Example::
inline code segment
The list items of ordered lists have to start with numbers (0-9
), followed by a dot (.
) and a space.
It doesn't matter for the output which numbers stand in front of the dot.
Example::
this starts an ordered list
which is continued here
and here
it can also contain bold text
and italic text
and inline code
and a link, https://example.com
a new list is started here
Quotes ^^^^^^
As of now only block quotes are supported. Inline quotes might be added later.
Examples::
This starts a one line quote.
A new quote starts here and continues in the next line. It can contain bold text and italic text. inline
code blocks
are also possible The same goes for links, https://example.com
Code blocks ^^^^^^^^^^^
Code blocks are supported. They have to be preceded and followed by an empty line. Each line must start with either 4 spaces or one tab. The text is encoded so that you can easily use for example HTML tags in a code block. Further spaces beyond these four spaces or one tab are represented in the output unchanged.
Example::
TestParagraphs ^^^^^^^^^^
Paragraphs are naturally supported as well. They are separated from each other with empty lines.
Example::
A paragraph starts here. It contains bold text or italic text.
It continues in the next line with a code segment
.
Finally there are also links
This text belongs to a new paragraph.
FAQs
Markdown parser that transforms the markdown into HTML
We found that twomartens.markdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.