Skip to content

Textadept module for outputting source files into various formats like HTML.

License

Notifications You must be signed in to change notification settings

orbitalquark/textadept-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Export

Textadept module for outputting source files into various formats like HTML.

Install this module by copying it into your ~/.textadept/modules/ directory or Textadept's modules/ directory, and then putting the following in your ~/.textadept/init.lua:

local export = require('export')

There will be a "File > Export" menu.

export.browser

Command used to open exported HTML files in the user's default web browser.

export.line_numbers

Show line numbers in exported output.

The default value is true.

export.to_html([filename=buffer.filename[, out_filename]])

Exports a file to HTML format and opens the result in a web browser.

Parameters:

  • filename: The filename to export.
  • out_filename: The filename to export to. If nil, the user is prompted for one.

About

Textadept module for outputting source files into various formats like HTML.

Topics

Resources

License

Stars

Watchers

Forks