Giter Site home page Giter Site logo

sirianni / plantuml-markdown Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shenjian74/plantuml-markdown

0.0 1.0 0.0 61.48 MB

Parse UML tags in markdown, convert markdown to html or docx

HTML 2.93% Visual Basic 76.03% Python 6.62% CSS 14.42%

plantuml-markdown's Introduction

plantuml-markdown

Parse plantuml tags in markdown file, convert markdown to html/docx

Use this block in markdown to include UML image. uml ......

Use this line to include file content in local disk. !INCLUDE "/path/file"

Preview

Example

Markdown

### Title3
#### Title4

line1

line2

```uml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
```

Show as:

Title3

Title4

line1

line2

Install

  1. Download and Install plantuml

  2. Config some parameters in "preprocess.py"

    • plantuml_jar_file -- Where is plantuml.jar
    • plantuml_jar_parameters
    • pandoc_exe_file -- Where is the pandoc execute file
    • pandoc_html_parameters -- pandoc's parameters for html
    • pandoc_css_file -- CSS file for html, see "--css" in pandoc
    • pandoc_reference_docx -- local docx template file, see "--reference-docx" in pandoc
  3. Finally, "python preprocess.py [--plantuml-jar /pathto/plantuml.jar] [--reference-docx /pathto/reference.docx] markdown_file"

Document

plantuml-markdown's People

Contributors

shenjian74 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.