• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

EWhite613/Confluence-to-Github-Markdown: Convert Confluence Html export to Githu ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

EWhite613/Confluence-to-Github-Markdown

开源软件地址(OpenSource Url):

https://github.com/EWhite613/Confluence-to-Github-Markdown

开源编程语言(OpenSource Language):

JavaScript 100.0%

开源软件介绍(OpenSource Introduction):

Not maintained

May want to fork: https://github.com/meridius/confluence-to-markdown

Confluence-to-Github-Markdown

Convert Confluence Html export to Github Markdown

Requirements

Must have pandoc command line tool

http://pandoc.org/installing.html

Make sure it was installed properly by doing pandoc --version

Installation

npm install -g confluence-to-github-markdown

Usage

confluence-to-github-markdown

confluence-to-github-markdown <htmlFilesDirectory> <attachmentsExportPath> <markdownImageReference>

Defaults

  • <htmlFilesDirectory> : Current Working Directory
  • <attachmentsExportPath> : "/public/assets/images/" Where to export images
  • <markdownImageReference> : "assets/images/" Image reference in markdown files

Export to HTML

Note that if the converter does not know how to handle a style, HTML to Markdown typically just leaves the HTML untouched (Markdown does allow for HTML tags).

Step by Step Guide

  1. Go to the space and choose Space tools > Content Tools on the sidebar.
  2. Choose Export. This option will only be visible if you have the 'Export Space' permission.
  3. Select HTML then choose Next.
  4. Decide whether you need to customise the export:
  • Select Normal Export to produce an HTML file containing all the pages that you have permission to view.
  • Select Custom Export if you want to export a subset of pages, or to exclude comments from the export.
  1. Export Pages
  2. Extract zip
  3. Open shell in extracted zip
  4. run confluence-to-github-markdown in shell



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap