-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
New Install Causing � Between Markdown #1267
Comments
Yes, I'm also getting the same issue on both Vuepress 1.0.0-alpha.36 and latest stable 0.14.8. My Vuepress is also installed as a global via yarn as instructed in the docs. |
I think it may have something to do with the Windows version of |
Hi @SimonEast you are correct the echo on windows is causing rouge character between the creation of the MD file. I have created it from using VS code create the file and it works as intended might need to update docs to suggest not echo for windows. |
See: #276 (comment) |
Bug report
Launching Vuepress Dev from newly install Vuepress cause <?> embedded between characters on README.md File.
Example:
echo '# Hello VuePress' > README.md
What is shown on webpage:
��#� �H�e�l�l�o� �V�u�e�P�r�e�s�s�
Version
Vuepress: cli.js/1.0.0-alpha.36 win32-x64 node-v9.11.1
Also tried 0.14.8
Yarn: 1.10.1
Steps to reproduce
Follow new install steps on website:
install globally
yarn global add vuepress
create a markdown file
echo '# Hello VuePress' > README.md
start writing
vuepress dev
What is expected?
No � characters between letters.
What is actually happening?
��#� �H�e�l�l�o� �V�u�e�P�r�e�s�s� Being rendered instead of markdown header.
Inside webpack JS script on build looks like this:
Exampel Render Below:
Other relevant information
Issue Resolution
Don't create the markdown file from CMD or PowerShell as it causes this issue, on windows create the file externally using windows explorer or code editor.
The text was updated successfully, but these errors were encountered: