Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
/ version2_files Public archive

A Repository for all the files to be converted for the new DAT site

Notifications You must be signed in to change notification settings

gc-da11yn/version2_files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

version2_files

A Repository for all the files to be converted for the new DAT site

Using Pandoc

If you need to convert files from one markup format into another, Pandoc is your swiss-army knife. Pandoc can convert between the following formats:

(← = conversion from; → = conversion to; ↔︎ = conversion from and to)

Installing

Pandoc - Installing pandoc

Using command line

Coverting files .docx to .html

find ./ -iname "*.docx" -type f -exec sh -c 'pandoc "${0}" -t html --wrap=none -o "${0%.docx}.html"' {} \;

Coverting files .docx to .md

find ./ -iname "*.docx" -type f -exec sh -c 'pandoc "${0}" -t gfm --wrap=none -o "${0%.docx}.md"' {} \;

About

A Repository for all the files to be converted for the new DAT site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •