Code Monkey home page Code Monkey logo

converttxttohtml's People

Contributors

amnish04 avatar kliu57 avatar wanggithub0 avatar

Stargazers

 avatar

Watchers

 avatar

converttxttohtml's Issues

Markdown Support

Hi,

I would like to add Markdown support to your repository, such that it can also process .md files.
For starters, I would be adding feature to detect various levels of heading and generate heading tags like h1, h2 accordingly.
Please let me know if its fine.

Thanks,
Amnish

add optional -l,--lang flag for generating the lang attribute

Add an optional -l, --lang, and/or \l flag, which indicates the language to use when generating the lang attribute on the root element. For example, --lang fr would mean that the HTML documents are in French, and would include , while -l pt-BR would mean the text is using Brazilian Portuguese: . By default, use en-CA for Canadian English.

Add Markdown support

I would like to contribute to your project to allow the program to convert .md files to .html.
I would like to make the following code contributions:

  1. Modify the file handling so that it supports both .txt files as well as .md (i.e., Markdown files). If the file extension is .txt, process the file exactly the same way it is done now (i.e., no changes). However, if the file extension is .md, add some extra processing (a new function, another class, a new module, etc. as makes sense) to parse one aspect of Markdown into HTML.
  2. Allow links in .md syntax to be converted to links in .html syntax.

If you would like, please give feedback about how you want it done.

Add TOML Config File Support

I propose adding support for TOML configuration files to enhance the flexibility and ease of use of this repository's command-line interface (CLI). This feature will allow users to specify various configuration options via a TOML formatted file, providing a more streamlined and user-friendly way to customize the behavior of the CLI.

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.