https://github.com/sublimetext-markdown/markdowncodeexporter
Sublime Text plugin to copy code blocks in Markdown files or open them in new tab
https://github.com/sublimetext-markdown/markdowncodeexporter
Last synced: about 1 year ago
JSON representation
Sublime Text plugin to copy code blocks in Markdown files or open them in new tab
- Host: GitHub
- URL: https://github.com/sublimetext-markdown/markdowncodeexporter
- Owner: SublimeText-Markdown
- License: mit
- Created: 2024-11-12T23:28:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-01T18:16:06.000Z (over 1 year ago)
- Last Synced: 2024-12-01T19:23:35.546Z (over 1 year ago)
- Language: Python
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Markdown Code Exporter
A Sublime Text plugin that adds useful action buttons for handling code blocks in Markdown files.
Currently supported actions:
- __copy__: Copies the code block content to your clipboard.
- __open in tab__: Opens the code block in a new tab with appropriate syntax highlighting.
Screenshot:

(Color scheme in the screenshot comes from MarkdownEditing plugin.)
## Installation
- __Manual installation (zip):__ Download the [zip](https://github.com/SublimeText-Markdown/MarkdownCodeExporter/archive/refs/heads/main.zip) of the repo and extract into `Packages/MarkdownCodeExporter`.
- __Manual installation (git):__ Go to `Packages` folder and `git clone https://github.com/SublimeText-Markdown/MarkdownCodeExporter MarkdownCodeExporter`.
- __Package Control:__ Search for `MarkdownCodeExporter`.
## Usage
The plugin automatically activates when you open a Markdown file. For each fenced code block, you'll see action buttons. The plugin dynamically reacts to your modifications in the file.
## License
[MIT](LICENSE)