I Use This!
Activity Not Available
Analyzed about 1 year ago. based on code collected about 1 year ago.

Project Summary

A XAML writer from reStructured Text source documents.

The goal is to be able to write out FlowDocument XAML from rest documents for use in WPF and Silverlight / Moonlight projects.

It includes a Pygments formatter for outputting a syntax highlighted XAML representation of source code.

rst2xaml itself runs under CPython, but the generated XAML is intended for use from IronPython (or any other .NET language). There is an example IronPython script for displaying the generated XAML using a WPF FlowDocumentReader.

Current statusBoth the FlowDocument and Silverlight XAML output support the following features of the docutils markup format:

title and headings paragraphs bold italics literal blocks inline literals line blocks bullet lists enumerated lists blockquotes the raw:: xaml directive the pygments code-block directive In addition FlowDocument supports superscript, although this only works with fonts that support it.

See the issues page for additional limitations or bugs.

ScriptsThere are three scripts that come with rst2xaml:

python rst2xaml.py source.txt output.xaml
python rst2xamlsl.py silverlight-source.txt silverlight-output.xaml
ipy.exe display_xaml.py output.xamlIf display_xaml.py is run without a command line argument it will open a file dialog for you to choose a xaml file to display.

TestsThe tests use the discover module, which is included in the repository for convenience. You run the tests with:

python discover.py
rst2xaml FlowDocument output

rst2xaml Silverlight output


docutils ironpython moonlight parsing pygments python rest restructuredtext silverlight text wpf xaml

In a Nutshell, rst2xaml...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    search using multiple tags to find exactly what you need


7 Other

30 Day Summary

Apr 10 2016 — May 10 2016

12 Month Summary

May 10 2015 — May 10 2016


Be the first to rate this project
Click to add your rating
Review this Project!