Skip to content

Commit

Permalink
FlakeHub
Browse files Browse the repository at this point in the history
  • Loading branch information
mhwombat committed Nov 19, 2023
1 parent 8c82a0c commit eb8513f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This package is available from Hackage, or as a Nix flake.
To install from Hackage, use [cabal install](https://cabal.readthedocs.io/en/stable/cabal-commands.html#cabal-install).
The package name is `pandoc-columns`.

### As a Nix flake
### In a Nix shell

Note: Flakes must be [enabled](https://nixos.wiki/wiki/Flakes) in your Nix or NixOS installation.

Expand All @@ -38,6 +38,23 @@ mkShell {
Enter the shell using `nix-shell`.
Now you can use the commands below.

### In a Nix flake

[![FlakeHub](https://img.shields.io/endpoint?url=https://flakehub.com/f/mhwombat/pandoc-columns/badge)](https://flakehub.com/flake/mhwombat/pandoc-columns)

Add pandoc-columns to your `flake.nix`:

```nix
{
inputs.pandoc-columns.url = "https://flakehub.com/f/mhwombat/pandoc-columns/*.tar.gz";
outputs = { self, pandoc-columns }: {
# Use in your outputs
};
}
```

## Defining tables

The Markdown that produced the above outputs is shown below.
Expand Down

0 comments on commit eb8513f

Please sign in to comment.