Skip to main content

Easy to convert text document to html document

Project description

Text2Html


To Translate text document to html document, Easy to use no code needed Just pass given argument into terminal or command prompt Give input document as text document

Use


For more information on how to use or additional options, type '--help'.

Usage: python -m texttohtml.convert [FILE PATH] [-OPTIONS] [-OUTPUT FILE PATH]

    -o		On success, instead of writing to stdout, write to a file.
    -t		Adds the <!DOCTYPE html> header to the generated code.
    -d		[DEBUG] Each cycle the processor prints information about
		Html structure and file reader.

Example:

python -m text2html.text2html elaa.txt -o elaa.html

title:

Ex:

txt:

@title Title of your web page;

Where @title indicates to apply style and ; indicates the end of style

output:
<title>Title of your web page</title>

charset:

@charset utf-8;

lang:

@lang en;

	To choose the language which you want to show

description:

@description

	To Describe the page using this style

keywords:

@keywords 

	To assign keywords easily top of search engine

author:

@author

	Author of the page

h1:

@h1 
	Heading Style 1

h2:

@h2 
	Heading Style 2

h3:

@h3 
	Heading Style 3

h4:

@h4 
	Heading Style 4
h5:
@h5 
	Heading Style 5
h6:
@h6 
	Heading Style 6

p:

@p
	Paragraph style

pre:

@pre

code:

@code

hr:

@hr

stylesheet:

@stylesheet

span:

@span

strong:

@strong

em:

@em

img:

@img

a:

@a

youtube:

@youtube

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

texttohtml-1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

texttohtml-1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file texttohtml-1.0.tar.gz.

File metadata

  • Download URL: texttohtml-1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for texttohtml-1.0.tar.gz
Algorithm Hash digest
SHA256 aedb19870b75591226ebf7b0312715015f1c5b214514e3c27f6cff0091632dd2
MD5 07319cd21fe56314b9ba9d3cf601d5ae
BLAKE2b-256 5b298aef2b6bec48ce89d5b34b69fc4424bcb8588c3b2095babe531d89b7503a

See more details on using hashes here.

File details

Details for the file texttohtml-1.0-py3-none-any.whl.

File metadata

  • Download URL: texttohtml-1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for texttohtml-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1b8613e35e0baf417355ea9433c13903977485d4a76f9ccb5d01fa8e298a349
MD5 22fd92dd72957bd7365c83ebec512e81
BLAKE2b-256 28da1fa67c9b8cd4dabe7a80190281ff8daf39c9f20b2731710526f6aa8682c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page