Project

jocasta

0.0
No commit activity in last 3 years
No release in over 3 years
Utility to extract a section of a Markdown file and write it into a separate file.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Jocasta

Gem

Utility to extract a section of a Markdown file and write it into a separate file.

Installation

gem install jocasta

Usage

jocasta [input] [output] [level] [section] [...options]

  • input - input markdown file.
  • output - Markdown file that will be written.
  • level - Level of the section to be extracted (# Level1 ## Level2 ### Level3)
  • section - Section to be extracted. It will also extract sub-sections inside this section.

Options:

  • --title - Title that will replace the section title in the output file. If none, it will use the same title.
  • --out_level - Level of the parent section in the output file. If none, it will keep the same level.

Named after Jocasta Nu from Star Wars. Based on script made by ReSwift