jupyter-notebook - 如何从右到左 (RTL) google colaboratory

标签 jupyter-notebook google-colaboratory

Jupyter notebook 可以支持 RTL 文本 [ see here] .我想知道 Google Colabolatory 中是否有 RTL 文本?不幸的是,命令面板中没有从右到左文本的选项。

最佳答案

无法从右到左编辑文本,但可以在单元格的结果中显示它:

%%HTML
<div dir=rtl>
טקסט מיושר לימין, עם פסיקים וסימני שאלה. אפשרי?
</div>

它在 StackOverflow 上没有正确显示,但在 Google Colab notebook 的单元格输出中(即在您运行它之后)正确显示。

关于jupyter-notebook - 如何从右到左 (RTL) google colaboratory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50975763/

相关文章:

matplotlib - 在 jupyter notebook 中隐藏 matplotlib 描述

python - 有人能用 Bullet 来 Colab 工作吗?

python - 如何将 xgboost 的特征重要性图从 Jupyter 笔记本保存到文件

python - 在 Python Jupyter Notebook 中创建 BeakerX TableDisplay?

python - Google CoLab - 如何运行位于我的 CoLab 环境的 'Files' 选项卡(即/content/)中的 jupyter notebook 文件

python - CommandNotFoundError : Your shell has not been properly configured to use 'conda activate'

crash - 尝试重新连接到笔记本时,Google Colab 卡住了我的浏览器和电脑

python-3.x - 在Google合作实验室访问Google表格

javascript - 无法在 Google Colaboratory 输出单元中添加事件监听器

pandas - 如何在JupyterLab中读取本地csv文件?