From e1549690d0561a3a9e740d88f086d91b6a2afdfe 2012-03-14 19:48:19 From: Anton I. Sipos Date: 2012-03-14 19:48:19 Subject: [PATCH] Add a plain text cell renderer. --- diff --git a/nbconvert.py b/nbconvert.py index 298d786..e3986db 100755 --- a/nbconvert.py +++ b/nbconvert.py @@ -140,6 +140,12 @@ class ConverterRST(Converter): Returns list.""" return [cell.source] + def render_plaintext(self, cell): + """convert plain text to rst + + Returns list.""" + return [cell.source] + def render_pyout(self, output): """convert pyout part of a code cell to rst