GithubHelp home page GithubHelp logo

markdowntranslator's Introduction

MarkdownTranslator 中文文档

A translator for markdown files using Google Translation API

Purpose

This script is used for auto tranlation and building for an English version of my blog site. The blog is backed by hexo, which using markdown files for writting.

Usage

After installing all dependencies, simply import function translate from postsTranslator and start translation by specifying pathes for source and destination markdown file.

markdowntranslator's People

Contributors

randomnamer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

johnfelipe

markdowntranslator's Issues

bug : cant translate line with bold text

Hi
thanks for sharing the amazing script.
here are few bugs can you please fix them.

1 ) cant translate content which have bold text like
hello its **me** and **you**
its recognized as list

2 ) last line is missed and never translated. example

# Apple 
## Orange
### train

in this case apple . orange first two lines will be translated and 3rd line will be not translated.

thanks.

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.