Discussion:
[Docutils-users] Inculding an ASCII banner in HTML output.
Robert W.Mills (Phoenix)
2015-12-07 15:43:35 UTC
Permalink
NOTE: I not yet subscribed to this list. Please CC me on any replies.
Thanks.

I am trying to include an ASCII banner, as part of program
documentation, within an HTML file. I have tried several ways but
rst2html.py keeps rejecting it.

ASCII Banner:
__ __ ____
| \/ |_ _| _ \ _ __ ___ __ _
| |\/| | | | | |_) | '__/ _ \ / _` |
| | | | |_| | __/| | | (_) | (_| |
|_| |_|\__, |_| |_| \___/ \__, |
|___/ |___/

RST File:

=====================================
MyProg User Guide for Version A.23.45
=====================================

.. sidebar:: Table of Contents

.. contents:: :local:

### insert ascii banner here ###

:Author: Joe Programmer
:Date: December 2015
:Rights: Copyright © 2015, Joe Programmer
:Email: ***@me.com
:Purpose: A program to do something.

-------
License
-------

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/#GPL>.

-----------
Description
-----------

*MyProg* does something you have allways wanted a program to do ;).

.. footer:: End of MyProg User Guide
engelbert gruber
2015-12-08 13:28:06 UTC
Permalink
On 7 December 2015 at 16:43, Robert W.Mills (Phoenix)
Post by Robert W.Mills (Phoenix)
__ __ ____
| \/ |_ _| _ \ _ __ ___ __ _
| |\/| | | | | |_) | '__/ _ \ / _` |
| | | | |_| | __/| | | (_) | (_| |
|_| |_|\__, |_| |_| \___/ \__, |
|___/ |___/
did you try http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#literal-blocks

=====================================
MyProg User Guide for Version A.23.45
=====================================

.. sidebar:: Table of Contents

.. contents:: :local:

.. ### insert ascii banner here ###

ASCII Banner::

__ __ ____
| \/ |_ _| _ \ _ __ ___ __ _
| |\/| | | | | |_) | '__/ _ \ / _` |
| | | | |_| | __/| | | (_) | (_| |
|_| |_|\__, |_| |_| \___/ \__, |
|___/ |___/

:Author: Joe Programmer
:Date: December 2015
:Rights: Copyright © 2015, Joe Programmer
:Email: ***@me.com
:Purpose: A program to do something.

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the lis

Loading...