Git Product home page Git Product logo

pmwiki2md's Introduction

Convert Pmwiki pages to markdown files.

Procedure

  1. Install Pmwikilib, which is a Python2 package that parse Pmwiki metadata into plain text (with the synytax).
  2. Run converter.rb to convert the plain text from last step into markdown file.

Coverage

Currently the simple script handles only partially the features included in the Pmwiki, including:

  1. basic styles: bold, italics, ordered/unordered list, different level of heading.
  2. plain table or table directives, note navigation bar is not supported.
  3. links to external website, assets, images, other pages or anchors within the same page.

Motivation and plan

The development of Pmwiki is unclear, and the last update was back in 2022. Time to move on to something more modern! The script is written in Ruby because the plan was to convert Pmwiki and host the markdowns with Jekyll, which is written in Ruby, so everything can be managed nicely within the Ruby ecosystem.

The next step would be to integrate Pmwikilib and the converter script so it is easier to add features.

  1. parse more metadata: creation time, author, last modified time, etc.
  2. better handling of page title, file structure, etc.

pmwiki2md's People

Contributors

lykex avatar

Watchers

 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.