I am writing descriptive ipynb file and need to give output in markdown with space, but unable to add tab space for printing structured data.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
- Type "nbsp" to add a single space.
- Type "ensp" to add 2 spaces.
- Type "emsp" to add 4 spaces.
- Use the non-breaking space (nbsp) 4 times to insert a tab.
eg.
 This is an example.
回答2:
If I understand your question then I don't think this has anything to do with Jupyter cells. For example, are you able to type a tab key into a Stackoverflow question box? Most browsers do not allow tab keys in most dialogs on most websites -- instead, tab switches to the next area.
Some options:
- cut a tab from a text application, paste into a Jupyter cell. (works)
- try using a browser-specific extension, like TabMeansTab for Chrome or Tabinta for Firefox.
See also further discussions of typing tab keys in browsers in general on SuperUser:
- https://superuser.com/questions/67934/typing-the-tab-character-in-browser-text-boxes
- https://superuser.com/questions/522627/how-to-use-tab-key-to-indent-within-a-textfield-instead-of-jumping-to-next-elem
回答3:
I just had this problem and resorted to the following:
This is text with $\;\;\;\;\;\;$
some space inserted.