@paperist/remark-preset-latex
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -8,7 +8,4 @@ 'use strict'; | ||
plugins: { | ||
'@paperist/remark-mathjax': null, | ||
'@paperist/remark-crossref': null, | ||
'@paperist/remark-table-caption': null, | ||
'@paperist/remark-latex': null, | ||
}, | ||
}; |
{ | ||
"name": "@paperist/remark-preset-latex", | ||
"description": "LaTeX preset for wooorm/remark", | ||
"version": "0.0.6", | ||
"dependencies": { | ||
"@paperist/remark-crossref": "^0.0.3", | ||
"@paperist/remark-latex": "^0.0.7", | ||
"@paperist/remark-mathjax": "^0.0.1", | ||
"@paperist/remark-table-caption": "^0.0.1" | ||
}, | ||
"description": "DEPRECATED: Please use @paperist/remark-latex", | ||
"license": "MIT", | ||
"version": "0.0.7", | ||
"main": "index.js", | ||
"files": [ | ||
"package.json", | ||
"README", | ||
"LICENSE", | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"latex", | ||
"markdown", | ||
"remark", | ||
"tex" | ||
], | ||
"license": "MIT", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "exit 0" | ||
}, | ||
"dependencies": { | ||
"@paperist/remark-latex": "*" | ||
}, | ||
"keywords": [], | ||
"remarkConfig": { | ||
"output": true, | ||
"presets": "./" | ||
}, | ||
"scripts": { | ||
"test": "exit 0", | ||
"postpublish": "greenkeeper-postpublish" | ||
}, | ||
"devDependencies": { | ||
"greenkeeper-postpublish": "^1.0.1" | ||
} | ||
} |
134
README.md
@@ -1,137 +0,9 @@ | ||
# remark-preset-latex | ||
# @paperist/remark-preset-latex | ||
[![standard-readme compliant][standard-readme-badge]][standard-readme] | ||
[![LICENSE][license-badge]][license] | ||
[![NPM][npm-badge]][npm] | ||
[![CircleCI][circleci-badge]][circleci] | ||
**DEPRECATED: Please use [@paperist/remark-latex]** | ||
[npm]: https://www.npmjs.com/package/@paperist/remark-preset-latex | ||
[license]: https://3846masa.mit-license.org | ||
[circleci]: https://circleci.com/gh/Paperist/remark-preset-latex | ||
[standard-readme]: https://github.com/RichardLitt/standard-readme | ||
[@paperist/latex]: https://github.com/Paperist/remark-latex | ||
[npm-badge]: https://img.shields.io/npm/v/@paperist/remark-preset-latex.svg?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURcwAAOeIiP////G7u/ri4tIZGdpFReJsbPC3t075sZwAAAAvSURBVCjPY2CgDWAThIMEsACjEhwIUCZg0dGCIqASwMAxMgXAgSzOwMAOC2TqAwBvzR4JxLaP0gAAAABJRU5ErkJggg== | ||
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAIGNIUk0AAHomAACAhAAA%2BgAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAVUExURSBTICJcIiNgIiZoJTuhNyt3Kf///%2BCqxSgAAAAGdFJOUwpclbn%2B4Fj6/H8AAAABYktHRAZhZrh9AAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4AkEEjEV7MDQQwAAAGBJREFUCNc1TUEKgDAMi07vE/Q%2BRD8g%2B4BbvAvi/79iMjDQJm1CC6BbDzRsZI3incIpYeYFhCaYnLiyPYnYkwWZFWoFHrSuttCmmbwXh0eJQYVON4JthZTxCzzAmyb8%2BAAKXBRyN6RyZQAAAABJRU5ErkJggg== | ||
[circleci-badge]: https://img.shields.io/circleci/project/Paperist/remark-preset-latex/master.svg?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAAIGNIUk0AAHomAACAhAAA%2BgAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRP///////wlY99wAAAAHdElNRQfgCQQSJS8EYt6kAAAAiklEQVRIx2M41nqs9Xi9WDQh%2BjQQnDnz%2BS5x9KS9xJrLgN/CSXtJs5h0BzHQ1mLCDmEgL4jJpyl0AOG4JTYE4Q6gdqIi1UMM2F1OrE9xBy2xDmGgrs8wHU5nB2CGBNEOQPcBoaigThQA08AgS4QDkA3pXRChe4SBskqHiiUhreoEsmtDyhxEfKIFAG4yoGuqR9fTAAAAAElFTkSuQmCC | ||
[standard-readme-badge]: https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square | ||
> LaTeX preset for [wooorm/remark] | ||
[wooorm/remark]: https://github.com/wooorm/remark | ||
## Table of Contents | ||
- [Install](#install) | ||
- [Usage](#usage) | ||
- [Contribute](#contribute) | ||
- [License](#license) | ||
## Install | ||
``` | ||
npm i remark remark-cli @paperist/remark-preset-latex | ||
``` | ||
## Usage | ||
``` | ||
$ remark index.md -p @paperist/remark-preset-latex -o index.tex | ||
``` | ||
## Syntax | ||
Inspired by [pandoc-crossref](https://github.com/lierdakil/pandoc-crossref). | ||
### Image labels | ||
```markdown | ||
{#fig:label} | ||
{#fig:label2 width=5cm,height=5cm} | ||
``` | ||
### Equation labels | ||
```markdown | ||
$$ math $$ {#eq:label} | ||
``` | ||
### Table labels | ||
```markdown | ||
| a | b | c | | ||
|:---:|:---:|:---:| | ||
| 1 | 2 | 3 | | ||
: Caption {#tbl:label} | ||
``` | ||
### Section labels | ||
```markdown | ||
# Section {#sec:section} | ||
``` | ||
### Code Block labels | ||
**Not implemented** | ||
<pre> | ||
```{#lst:code .haskell caption="Listing caption"} | ||
main :: IO () | ||
main = putStrLn "Hello World!" | ||
``` | ||
</pre> | ||
### References | ||
```markdown | ||
[@fig:label1] or [@fig:label1;@fig:label2;...] | ||
``` | ||
```markdown | ||
[@jones99] or [@jones99;@smith06;...] | ||
``` | ||
### YAML | ||
#### Templates | ||
You can use [ejs] template. | ||
[ejs]: https://github.com/mde/ejs | ||
```tex | ||
%% TeX Template written by ejs format. | ||
\author{<%= author %>} | ||
\title{<%= title %>} | ||
\begin{document} | ||
\maketitle | ||
<%= body %> | ||
\end{document} | ||
``` | ||
```yaml | ||
latex: | ||
baseTemplateFile: ./template.tex | ||
documentInfo: | ||
author: 3846masa | ||
title: Document Title | ||
``` | ||
#### Bibliography | ||
**Not implemented** | ||
## Contribute | ||
PRs accepted. | ||
## License | ||
MIT © 3846masa |
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1
0
1779
9
2
10
2
+ Added@paperist/remark-crossref@1.0.3(transitive)
+ Added@paperist/remark-latex@2.0.0(transitive)
+ Added@paperist/remark-math@1.0.3(transitive)
+ Added@paperist/remark-table-caption@1.0.1(transitive)
+ Addedcharacter-entities@1.2.4(transitive)
+ Addedcharacter-entities-legacy@1.1.4(transitive)
+ Addedcharacter-reference-invalid@1.1.4(transitive)
+ Addedcollapse-white-space@1.0.6(transitive)
+ Addedfault@1.0.4(transitive)
+ Addedfind-up@2.1.0(transitive)
+ Addedformat@0.2.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-alphabetical@1.0.4(transitive)
+ Addedis-alphanumerical@1.0.4(transitive)
+ Addedis-decimal@1.0.4(transitive)
+ Addedis-hexadecimal@1.0.4(transitive)
+ Addedis-whitespace-character@1.0.4(transitive)
+ Addedis-word-character@1.0.4(transitive)
+ Addedlocate-path@2.0.0(transitive)
+ Addedmarkdown-escapes@1.0.4(transitive)
+ Addedp-limit@1.3.0(transitive)
+ Addedp-locate@2.0.0(transitive)
+ Addedp-try@1.0.0(transitive)
+ Addedparse-entities@1.2.2(transitive)
+ Addedpath-exists@3.0.0(transitive)
+ Addedremark-frontmatter@1.3.3(transitive)
+ Addedremark-parse@4.0.0(transitive)
+ Addedrepeat-string@1.6.1(transitive)
+ Addedstate-toggle@1.0.3(transitive)
+ Addedtrim@0.0.1(transitive)
+ Addedtrim-trailing-lines@1.1.4(transitive)
+ Addedunherit@1.1.3(transitive)
+ Addedunist-util-remove-position@1.1.4(transitive)
+ Addedvfile-location@2.0.6(transitive)
+ Addedxtend@4.0.2(transitive)
- Removed@paperist/remark-crossref@^0.0.3
- Removed@paperist/remark-mathjax@^0.0.1
- Removed@paperist/remark-crossref@0.0.3(transitive)
- Removed@paperist/remark-latex@0.0.7(transitive)
- Removed@paperist/remark-mathjax@0.0.1(transitive)
- Removed@paperist/remark-table-caption@0.0.1(transitive)
Updated@paperist/remark-latex@*