We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have following code:
import cliMd from 'cli-markdown' // "^3.0.3" import mdjs from '@moox/markdown-to-json' // "^1.0.0" const TEST_CONTENT = "```python\na=7\nb=5\n```" console.log(cliMd(TEST_CONTENT)) const tree = mdjs.markdownAsJsTree(TEST_CONTENT)
This works:
The actual string sent to the terminal is this:
�[30m�[1m1�[22m�[39m a=�[32m7�[39m �[30m�[1m2�[22m�[39m b=�[32m5�[39m
But if I switch the order of lines, it prints nothing:
const TEST_CONTENT = "```python\na=7\nb=5\n```" const tree = mdjs.markdownAsJsTree(TEST_CONTENT) console.log(cliMd(TEST_CONTENT))
The string sent to the terminal is this:
[30m�[1m1�[22m�[39m
Why? Why does it matter if I executed mdjs.markdownAsJsTree before or after the cli-markdown call? I tested on Node.js 19.x, OSX terminals.
mdjs.markdownAsJsTree
cli-markdown
The text was updated successfully, but these errors were encountered:
workaround grigorii-horos/cli-markdown#3
7020f30
No branches or pull requests
I have following code:
This works:
The actual string sent to the terminal is this:
But if I switch the order of lines, it prints nothing:
The string sent to the terminal is this:
Why? Why does it matter if I executed
mdjs.markdownAsJsTree
before or after thecli-markdown
call? I tested on Node.js 19.x, OSX terminals.The text was updated successfully, but these errors were encountered: