I am learning to use hexo to bolg. When I finish my job and deploy it.I find that all "--" turn into "-".What is the reason and how can I fix it.
Why “--” turns into "-" when I deploy my markdown file using Hexo?
113 Views Asked by yan liang At
1
There are 1 best solutions below
Related Questions in HEXO
- Hexo cannot connect to github
- How can i set the root path of Hexo theme
- npm reports an error when installing hexo
- hexo: Unexpected token '=>' while compiling ejs
- About hexo, how to pass a variable from generator.js to category.ejs?
- Why does it say that error: unknown switch `t'?
- My Hexo blog failed build on github pages
- Why extend from eventEmitter when the methods are never used (hexo-cli)?
- How does nodejs interpret key value pairs when no semi color exists and the key itself is a string called with a function?
- ERROR Plugin load failed: hexo-asset-link
- Unable to Deploy Hexo Blog on GitHub Pages
- How to link a draft in a Hexo post, that is not clickable until the draft is published?
- How can I use JSX in Hexo markdown?
- Error: EISDIR: illegal operation on a directory error while generating project in Docker
- Hexo blog build error and the chic theme could not be found
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
--) generate into long dashes (&mdashor—) is because in hexo-renderer-marked plugin option smartypants (Use "smart" typograhic punctuation for things like quotes and dashes) is enabled by default.To disable it add in main Hexo
_config.yml:After that need to update text in your
*.mdfile to regenerate output with new parameters by this plugin. Of course,hexo clean && hexo gor reloadhexo safter that.