Coder Social home page Coder Social logo

doc-to-md-macros's Introduction

doc-to-md-macros

Microsoft Word macros which converts content of the document to markdown(.md) syntax.

How to use?

Do these steps only the first time

  1. Open your word document and then hit Alt+F11. You should see Microsoft Visual Basic for Applications window
  2. Right click on Normal project. Insert -> Module
    • In this case the macros will be available for any document on your machine
    add-module
  3. Select the code of the module from this page
  4. Close the Visial Basic for Applications window.

Do these steps each time you want to convert a document

  • Open the word document you want to convert
  • Hit Alt + F8 (or choose View->Macros)
  • Run the macros DocToMarkdown
  • The result of conversion you should see right inside the word document
  • Copy-Paste the content of the file to .md document

Supported elements (will be converted to markdown)

  • Heading Styles from 1 to 5
  • Text formatting
    • Italic
    • Bold
    • Underline
    • Combination fo styles above
  • Links
  • First-level lists
    • Numbered
    • Bulleted
  • Tables

What to do if something is not working correctly or you have an enhancement idea?

  • Add the issue with bug or enhancements label to the Issues section.
  • Create pull request with the fix or enhancement. Thanks!

doc-to-md-macros's People

Contributors

ikuznalex avatar

Stargazers

 avatar

Watchers

 avatar  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.