-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
philmacfly
committed
Nov 12, 2023
1 parent
63f7f73
commit 4501c64
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# seilfahrt | ||
|
||
Tool to create a wiki page from a HedgeDoc | ||
|
||
## Prerequisites | ||
|
||
You must have pandoc installed and in your PATH variable for this to work! | ||
|
||
## Usage | ||
|
||
Create a config file with your access tokens and wiki settings and put it next to the executable. | ||
Afterwards simply execute the executable with the -id command line flage and append the id of the Hedgedoc pad. | ||
|
||
### Command Line Parameters | ||
|
||
| Parameter | Description | Default Value | | ||
|-----------|----------------------------------------------------------|---------------| | ||
| id | The ID of the hedgedoc pad to be dowloaded and converted | | | ||
| c | The path to the config file | ./config.toml | | ||
| h | If active prints all command line args | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
HedgedocURL = "https://hedgedoc.nerdberg.de" | ||
WikiURL = "https://wiki.nerdberg.de/api.php" | ||
ConsumerToken = "" | ||
ConsumerSecret = "" | ||
AccessToken = "" | ||
AccessSecret = "" | ||
PlenenPageId = "28" |