Skip to content

Commit 70223db

Browse files
committed
version 0.3.0
1 parent b6f40dd commit 70223db

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repository = "https://github.com/systemphil/prepyrus"
77
readme = "README.md"
88
categories = ["database", "parser-implementations", "text-processing"]
99
keywords = ["bibtex", "biblatex", "mdx", "parser", "citation"]
10-
version = "0.2.2"
10+
version = "0.3.0"
1111
edition = "2021"
1212

1313
[dependencies]

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,23 @@ by adding a bibliography section at the end of the file.
7676
It also adds author, editor, and contributor from the MDX file metadata if available.
7777
Finally, it also adds a notes heading at the end if footnotes are present in the file.
7878

79+
## Additional Features
80+
81+
**Alphabetical Index Generation**
82+
83+
When running in process mode with the `--generate-index-file <TARET_FILE>` option, Prepyrus now:
84+
85+
- Extracts all `indexTitles` from .mdx files.
86+
- Sorts them alphabetically by title.
87+
- Groups them under ## headings by first letter (e.g., ## A, ## B, etc).
88+
- Writes a neatly structured index to the specified .mdx file.
89+
90+
You can rewrite parts of generated index links using:
91+
92+
```
93+
--link-prefix-rewrite "/content=/articles"
94+
```
95+
7996
## Limitations
8097

8198
The tool currently only supports citations in Chicago author-date style.

0 commit comments

Comments
 (0)