🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

markup-split

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markup-split

Split a file into many parts

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

markup-split ✂️

Split a file into many parts.

Usage

markup-split [--force|-f] [--no-adjust|-A] [FILE...]

The supported file formats are AsciiDoc (*.adoc) and Markdown (*.md).

The input files will be scanned for markup-split directives (see Syntax below), and the contents that follow each directive will be copied to new files at the specified paths.

Use --force to overwrite existing files.

Use --no-adjust to disable decrementing heading levels.

Syntax

The directives are written in comments, and have the form markup-split: [PATH].

Markdown

# Introduction

<-- markup-split: part-1.md -->

## Part 1

<-- markup-split: part-2.md -->

## Part 2

AsciiDoc

= Introduction

// markup-split: part-1.adoc

== Part 1

// markup-split: part-2.adoc

== Part 2

FAQs

Package last updated on 26 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts