That said, even a cursory glance at the pandoc documentation reveals that it has substantial capabilities. The proposal was intentionally crafted with relatively simple formatting, so there weren’t too many bizarre elements to worry about. md file extension).įrankly, this yielded fantastic results for me. Where MyWordDoc.docx is the name of the Word document you want to convert and MyWordDoc.md is the name of the output file (call yours anything you want, but it’s useful to name it with a. Pandoc MyWordDoc.docx -f docx -t markdown -o MyWordDoc.md Running pandoc is relatively straightforward for a job like this: Where MyFolder is the name of the directory where your Word doc is located. On Ubuntu, I hit CTRL+ALT+T to open a new terminal window, and then changed directories: Open a command prompt and navigate to the folder where your Word doc is located.deb file, which was exactly what I needed for my system. Ubuntu’s package manager had a very outdated version, but the release in the code repository includes a handy. Save yourself some trouble download the latest release from the pandoc GitHub repository. Since it’s written in Haskell, there’s an installer for Windows, MacOS, various flavors of Linux … heck, there’s even something for ChromeOS and a Docker image, to boot! I engaged in some trial and error (details below if you’re interested), but for my purposes, pandoc was the tool for the job. DOCX File into a Markdown File Using pandoc This could theoretically be done in Microsoft Word, but we all know that git is a much better tool for that job, am I right? The Goal: Edit Content from Word in a git Repositoryįrom a high-level viewpoint, what I want to do is create a modular set of content elements that can then be loaded into the client’s proposal generator tools with nice formatting. (Yes, this could have been done in the browser, but I find the desktop client for Teams to be quite good.)īut now we need to be able to repurpose and reuse much of the content in the proposal in future proposals, which will require a fair amount of editing, version control, change tracking, etc. This has actually been a surprisingly good experience-allowing me to use Microsoft Word on Ubuntu. Our client is a Microsoft shop through and through, and I’ve been forced to install Microsoft Teams on my Linux machine to collaborate with their crew. Haven’t been for many years.īut not long ago I created a massive proposal for a client that we’re partnering with for some projects. OK I’m not a Microsoft fan these days-almost across the board. The Problem: You Created Your Content in Microsoft Word So you need to get your nifty Word doc into a format that can be used on the web, handled by a wide variety of editors, or - if you’re like me - included in a git repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |