
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@paperist/remark-latex
Advanced tools
wooorm/remark plugin for latex
npm i remark remark-cli @paperist/remark-latex
See here for more details.
remark -u @paperist/remark-latex document.md -o document.tex
If you configure via rc
file, you should type below.
remark -r ./remarkrc.yml document.md -o document.tex
Inspired by pandoc-crossref.
{#fig:label}
$$ math $$ {#eq:label}
| a | b | c |
|:---:|:---:|:---:|
| 1 | 2 | 3 |
: Caption {#tbl:label}
# Section {#sec:section}
Not implemented
[@fig:label1] or [@fig:label1;@fig:label2;...]
[@jones99] or [@jones99;@smith06;...]
Field | Description |
---|---|
baseTemplate | The document template |
documentInfo | The data passed to the base template |
imageConfigs | \includegraphics configs |
templatesDir | Template folder for AST (See templates ) |
You can use ejs template.
remark-latex read baseTemplate
and bind documentInfo
to output.
%% TeX Template written by ejs format.
\author{<%= author %>}
\title{<%= title %>}
\begin{document}
\maketitle
%% Render results will be exported as `body`.
<%= body %>
\end{document}
remarkrc
You can configure via rc
file (e.g. remarkrc.json
, remarkrc.yml
).
See also here.
# Required
output: true
plugins:
- "@paperist/remark-latex"
# Optional
# NOTE: You should put remark-latex configs under `latex`.
settings:
latex:
baseTemplate: latex/template.tex
imageConfigs:
width: 0.9\linewidth
documentInfo:
title: A Survey on Markdown
author:
- John Smith
You can configure each files via YAML Frontmatter. See also here
---
baseTemplate: ../latex/template.tex
---
# Hello World
Lorem ipsum dolor sit amet...
PRs accepted.
MIT (c) 3846masa
FAQs
wooorm/remark plugin for latex
The npm package @paperist/remark-latex receives a total of 0 weekly downloads. As such, @paperist/remark-latex popularity was classified as not popular.
We found that @paperist/remark-latex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.