crtangle
crtangle
CLI tool aimed to replace org-babel-tangle
for org-mode in Emacs, without editor lock-in and using markdown instead of org.
Installation
This tool can be installed through GNU Make by running make
in the working directory.
Usage
$ ./bin/crtangle --help
crtangle [file] [--help] [--version]
Arguments:
-v, --version Show version
-h, --help Show help
Use YAML frontmatter to specify the target file. Each code block will be tangled to the specified file.
---
tangle: example.txt
---
# Title
```txt
Code goes here.
```
Should the command work outside of the file's directory, a full path to the target file should be provided, so the file is not created in the current dir.
---
tangle: /Users/rishab/Documents/example.txt
---
# Example
```text
Hello, world!
```
```javascript
const hello = "world"
```
```cpp
string Hello = "World";
```
Contributing
- Fork it (https://github.com/RisGar/crtangle/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Rishab Garg - creator and maintainer
- Joakim Myrvoll - idea (joakimmj/md-tangle)
Repository
crtangle
Owner
Statistic
- 1
- 0
- 0
- 0
- 0
- over 1 year ago
- April 12, 2023
License
European Union Public License 1.2
Links
Synced at
Sun, 22 Dec 2024 06:56:43 GMT
Languages