简体   繁体   中英

Markdown: force two consecutive words to be on the same line

As the title says, using markdown I need to force two consecutive words to stay on the same line, as follows:

silly question

and not

silly
question

Is it possible with markodwn to avoid a line break at a specified location ?

You should add a non-breaking space in your markdown. Either use your system's special-characters-picker, or use HTML in your markdown:

silly question

In pandoc for example, this works even when exporting to LaTeX.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM