BibleMarkdown 4.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global BibleMarkdown --version 4.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local BibleMarkdown --version 4.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=BibleMarkdown&version=4.0.1
                    
nuke :add-package BibleMarkdown --version 4.0.1
                    

BibleMarkdown

BibleMarkdown or bibmark.exe is an application that transforms source markup like USFM, BibleEdit or Zefania XML to Bible Markdown and then to LaTeX, HTML, Epub, Pandoc Markdown & USFM.

Installation

You can install bibmark on Windows, Linux and MacOS. You need to have .NET 8 installed. Then you can execute the following commands in a shell:

dotnet tool install -g BibleMarkdown
dotnet bibmark

After this, bibmark is added to your PATH and you can execute it from any folder:

bibmark

To show a help page execute bibmark -?.

Alernatively, on Windows you can also install BibleMarkdown with the MSI Installer.

Documentation

Bible Markdown is normal pandoc Markdown with the following extensions:

  • For Footnotes you can make them more readable, by placing a marker ^label^ at the place of the footnote, but specifying the footnote later in the text with ordinary ^label^[Footnote] markdown. "label" must be a letter or word without any digits.
  • You can have comments by bracing them with /* and */ or by leading with // until the end of the line. /* */ Comments can span multiple lines.
  • Verse numbers are denoted with a @ character followed by a number, like this: @1 In the beginning was the Word and the Word was with God and the Word was God. @2 This was in the beginning...
  • if the text contains the comment //!verse-paragraphs, each verse is rendered in a paragraph. For use in Psalms and Proverbs.
  • Chapter numbers are denoted with a # markdown title and Chapter headings with a ## markdown title
  • A special comment //!verse-paragraphs can be placed in the text, so that for this document, all verses are placed in a separate paragraph
  • A special comment //!replace /regularexpression/replacement/regularexpression/replacement/... can be placed in the text. All the regular expressions will be replaced. You can choose another delimiter char than /, the first character encountered will be used as delimiter.

If you have the source text of your Bible in USFM markup, you can place those files in a subfolder src. If you specify the -s argument to bibmark, bibmark searches this folder for USFM source and creates Bible Markdown files in the main folder if the source files are newer than the Bible Markdown files. From the Bible Markdown files, bibmark creates LaTeX files in the out/tex folder and HTML files in the out/html folder.

bibmark also creates a file called framework.md in the out folder that specifies chapter titles and paragraphs and footnotes. If you move this file to the src folder and it is newer than the Bible Markdown files, bibmark applies the chapter titles and paragraphs and footnotes found in the framework.md file to the Bible Markdown files. In the framework.md file, the Bible Markdown files are specified by a # markdown title, the chapter numbers by a ## markdown title, and chapter titles by a ### markdown title. Verses that contain a paragraph or a footnote are denoted with superscript markdown notation followed by a \ for a paragraph or a ^^ for a footnote marker, or a ^[Footnote] footnote.

bibmark also creates a file verses.md in the out folder, a file that shows how many verses each chapter has, so you can compare different Bibles verse numberings.

You can also place a file linklist.xml in the src folder, to specify parallel verses included in footnotes, that will be imported and placed in the footnotes.

When importing framework.md or footnotes, one can map different versifications of the files to the current versification with placing the following files in src:

  • parallelversesmap.md for mapping the verses of linklist.xml to the current versification.
  • paragraphsmap.md for mapping the verses of paragraphs in framework.md to the current versification.
  • titlesmap.md for mapping the verses of titles in framework.md to the current versification.
  • footnotesmap.md for mapping of footnotes in framework.md to the current versification.
  • duallanguagemap.md for mapping the versification of the secondary language to the primary language in two column two language bibles.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
4.0.14 143 9/9/2025
4.0.13 139 9/9/2025
4.0.12 138 9/9/2025
4.0.11 156 9/4/2025
4.0.10 153 9/4/2025
4.0.9 151 9/4/2025
4.0.8 148 9/4/2025
4.0.7 152 9/4/2025
4.0.5 144 9/4/2025
4.0.4 147 9/4/2025
4.0.3 148 9/4/2025
4.0.2 145 9/4/2025
4.0.1 149 9/4/2025
4.0.0 148 9/4/2025