Converter/Transformer of Xuite blog to hugo static site
Purpose
- Convert
.mt
file of xuite blog to be compatible with HUGO static site generator format.md
(markdown) through command line
Install
gem install xuite_blog_to_hugo_gem
Usage
xuite_blog_to_hugo YOUR_XUITE_MT_FILENAME_WITH_FILEPATH
Notice
- ONLY EXECUTE CONVERTION THROUGH COMMAND LINE
- Cannot convert tag of xuite blog
- Cannot 100% convert
html
tomarkdown-compatible
format - Generate
.md
file name(s) starting from0
- Automatically create folder
output
in current execution directory ifoutput
folder doesn't exist
Convertion
From left to right
xuite meta | hugo markdown meta |
---|---|
TITLE: | title: |
AUTHOR: | |
DATE: | date: |
CATEGORY: | categories: |
image: | |
description: | |
STATUS: | draft: |
tags: | |
type: | |
highlight: |
xuite body | hugo markdown body |
---|---|
BODY: | --- and two newlines |