https://github.com/orbitalquark/textadept-export
Textadept module for outputting source files into various formats like HTML.
https://github.com/orbitalquark/textadept-export
html-export textadept textadept-module
Last synced: about 1 month ago
JSON representation
Textadept module for outputting source files into various formats like HTML.
- Host: GitHub
- URL: https://github.com/orbitalquark/textadept-export
- Owner: orbitalquark
- License: mit
- Created: 2020-10-07T17:26:31.000Z (over 4 years ago)
- Default Branch: default
- Last Pushed: 2025-03-26T14:10:55.000Z (3 months ago)
- Last Synced: 2025-04-06T16:48:54.125Z (2 months ago)
- Topics: html-export, textadept, textadept-module
- Language: Lua
- Homepage:
- Size: 61.5 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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*:```lua
local export = require('export')
```There will be a "File > Export" menu.
Command used to open exported HTML files in the user's default web browser.
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.