You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pandoc-lang

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pandoc-lang

Pandoc filter to detect the language of text

0.3.0
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

pandoc-lang

Pandoc filter to automatically detect the language of text, and adjust the lang variable in the document metadata.

It will also attempt to detect the programming language used for any code blocks that specify highlight as the class name.

Installation

npm install -g pandoc-lang

Usage

pandoc --filter pandoc-lang -s -t markdown test.md

FAQs

Package last updated on 22 Mar 2023

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