Skip to content
Back to skills

Md To Latex

ASecurity

Convert Markdown to LaTeX source via Pandoc.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsbashnode

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill md-to-latex --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Md To Latex?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Md To Latex
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabioc-aloha-md-to-latex/badge)](https://www.skillsdirectory.com/skills/fabioc-aloha-md-to-latex)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: md-to-latex
description: "Convert Markdown to LaTeX source via Pandoc."
lastReviewed: 2026-04-30
---

# md-to-latex

Convert Markdown to LaTeX source via Pandoc.

## When to Use

- Academic papers, theses, and journal submissions
- Documents needing fine-grained typesetting control
- Pipelines that further process `.tex` (BibTeX, custom preamble, journal classes)

## What's Here

`md-to-latex.cjs` — Node script that wraps Pandoc and emits standalone `.tex`.

## External Dependencies

- `node` (≥ 16)
- `pandoc` (≥ 3.0) on PATH
- TeX distribution (TeX Live, MiKTeX) only if you compile the output

## Usage

```bash
node md-to-latex.cjs paper.md
node md-to-latex.cjs paper.md --output paper.tex
node md-to-latex.cjs paper.md --bibliography refs.bib --csl ieee.csl
node md-to-latex.cjs paper.md --template custom-template.tex
```

## Frontmatter Hooks

```yaml
---
title: Paper Title
author: Your Name
documentclass: article
classoption: 11pt
bibliography: refs.bib
csl: ieee.csl
---
```

## Notes

- Output is standalone — compiles directly with `pdflatex`/`lualatex`
- Citations in Pandoc syntax (`[@key]`) become `\cite{key}`
- For journal-specific formatting, supply `--template`

Files in this skill

  • SKILL.md1.2 KB
  • md-to-latex.cjs7.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…