Open sfujiwara opened 5 years ago
We are currently working on Japanese translation of TensorFlow official document (many of the documents are .ipynb
files):
https://github.com/tensorflow/docs/tree/master/site/ja
We are using RedPen to help reviewer. But, since RedPen does not support Jupyter Notebook, we have to convert it to markdown: https://github.com/tfug/proofreading
We are very happy if we can apply RedPen directly to Jupyter Notebook.
@sfujiwara Thank you very much for your interest in RedPen 🙏
As you think, currently RedPen does not support .ipynb
format and therefore we need to convert the files to markdown to apply RedPen.
To support .ipynb
, we first need to the detailed specification of the format. Creating the parser could be simple since as we see, .ipynb
contains the Markdown blocks which RedPen already support the parser.
I think the parser need to extract "source"
elements if "cell_type": "markdown"
.
An example block we want to extract is below:
The content of "source"
is similar to markdown, but a little bit different from it.
Thank you very much for tell us the format of ipynb
files. We understand that the ipynb
is a simple json format and can handle source
of elements which have cell_type:
markdown`.
Do you have a plan to implement input format option for Jupyter Notebook? As far as I know, currently we can not use
.ipynb
file as an input for RedPen CLI: http://redpen.cc/docs/latest/index_ja.html#command-line-tool