update from sparkleup
This commit is contained in:
parent
7e071de1a6
commit
809c958cb7
5
.tags
5
.tags
|
@ -239,6 +239,7 @@ kink writing/sawtooth/party/1-3-breeding-pair.md 2;" vimwiki:writing/sawtooth/pa
|
|||
kink writing/sawtooth/party/1-4-hostess.md 2;" vimwiki:writing/sawtooth/party/1-4-hostess\twriting/sawtooth/party/1-4-hostess
|
||||
kink writing/sawtooth/party/index.md 2;" vimwiki:writing/sawtooth/party/index\twriting/sawtooth/party/index
|
||||
magic writing/sawtooth/acts-of-intent.md 3;" vimwiki:writing/sawtooth/acts-of-intent\twriting/sawtooth/acts-of-intent#magic
|
||||
markdown tech/md-ext/editing.md 2;" vimwiki:tech/md-ext/editing\ttech/md-ext/editing
|
||||
markdown tech/md-ext/verse.md 2;" vimwiki:tech/md-ext/verse\ttech/md-ext/verse
|
||||
markdown tech/md-ext/vimwiki.md 2;" vimwiki:tech/md-ext/vimwiki\ttech/md-ext/vimwiki
|
||||
mental-health writing/rum-and-coke/how-many.md 2;" vimwiki:writing/rum-and-coke/how-many\twriting/rum-and-coke/how-many
|
||||
|
@ -320,6 +321,7 @@ novel writing/sawtooth/party/1-3-breeding-pair.md 2;" vimwiki:writing/sawtooth/p
|
|||
novel writing/sawtooth/party/1-4-hostess.md 2;" vimwiki:writing/sawtooth/party/1-4-hostess\twriting/sawtooth/party/1-4-hostess
|
||||
novel writing/sawtooth/party/index.md 2;" vimwiki:writing/sawtooth/party/index\twriting/sawtooth/party/index
|
||||
outline writing/post-self/qoheleth/index.md 3;" vimwiki:writing/post-self/qoheleth/index\twriting/post-self/qoheleth/index#outline
|
||||
package tech/md-ext/editing.md 2;" vimwiki:tech/md-ext/editing\ttech/md-ext/editing
|
||||
package tech/md-ext/verse.md 2;" vimwiki:tech/md-ext/verse\ttech/md-ext/verse
|
||||
package tech/md-ext/vimwiki.md 2;" vimwiki:tech/md-ext/vimwiki\ttech/md-ext/vimwiki
|
||||
party writing/sawtooth/centerpiece.md 3;" vimwiki:writing/sawtooth/centerpiece\twriting/sawtooth/centerpiece#party
|
||||
|
@ -394,6 +396,7 @@ post-self writing/post-self/qoheleth/Sasha/003.md 2;" vimwiki:writing/post-self/
|
|||
post-self writing/post-self/qoheleth/Sasha/004.md 2;" vimwiki:writing/post-self/qoheleth/Sasha/004\twriting/post-self/qoheleth/Sasha/004
|
||||
post-self writing/post-self/qoheleth/Sasha/005.md 2;" vimwiki:writing/post-self/qoheleth/Sasha/005\twriting/post-self/qoheleth/Sasha/005
|
||||
post-self writing/post-self/qoheleth/index.md 3;" vimwiki:writing/post-self/qoheleth/index\twriting/post-self/qoheleth/index#post-self
|
||||
python tech/md-ext/editing.md 2;" vimwiki:tech/md-ext/editing\ttech/md-ext/editing
|
||||
python tech/md-ext/verse.md 2;" vimwiki:tech/md-ext/verse\ttech/md-ext/verse
|
||||
python tech/md-ext/vimwiki.md 2;" vimwiki:tech/md-ext/vimwiki\ttech/md-ext/vimwiki
|
||||
qoheleht writing/post-self/qoheleth/Ioan/006-b.md 2;" vimwiki:writing/post-self/qoheleth/Ioan/006-b\twriting/post-self/qoheleth/Ioan/006-b
|
||||
|
@ -567,9 +570,11 @@ short-story writing/sawtooth/the-fool.md 3;" vimwiki:writing/sawtooth/the-fool\t
|
|||
short-story writing/sawtooth/what-defines-us.md 3;" vimwiki:writing/sawtooth/what-defines-us\twriting/sawtooth/what-defines-us#short-story
|
||||
suicide writing/sawtooth/every-angel-is-terrifying.md 3;" vimwiki:writing/sawtooth/every-angel-is-terrifying\twriting/sawtooth/every-angel-is-terrifying#suicide
|
||||
tech tech/index.md 2;" vimwiki:tech/index\ttech/index
|
||||
tech tech/md-ext/editing.md 2;" vimwiki:tech/md-ext/editing\ttech/md-ext/editing
|
||||
tech tech/md-ext/verse.md 2;" vimwiki:tech/md-ext/verse\ttech/md-ext/verse
|
||||
tech tech/md-ext/vimwiki.md 2;" vimwiki:tech/md-ext/vimwiki\ttech/md-ext/vimwiki
|
||||
universe writing/sawtooth/index.md 2;" vimwiki:writing/sawtooth/index\twriting/sawtooth/index
|
||||
vimwiki tech/md-ext/editing.md 2;" vimwiki:tech/md-ext/editing\ttech/md-ext/editing
|
||||
vimwiki tech/md-ext/verse.md 2;" vimwiki:tech/md-ext/verse\ttech/md-ext/verse
|
||||
vimwiki tech/md-ext/vimwiki.md 2;" vimwiki:tech/md-ext/vimwiki\ttech/md-ext/vimwiki
|
||||
writing diary/2020-04-09.md 1;" vimwiki:diary/2020-04-09\tdiary/2020-04-09
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
%title Editing Markdown Extension
|
||||
:tech:markdown:vimwiki:python:package:
|
||||
|
||||
## What it does
|
||||
|
||||
I want to be able to have editing comments in Markdown, so I came up with some extensions to the syntax. The goal should be for the text to still be at least mostly readable.
|
||||
|
||||
* Additions `+{new text}`
|
||||
* Deletions `-{old text}`
|
||||
* Substitutions `~{old}{new}`
|
||||
* Comments `?{la de da}(comment)`
|
||||
* Resolutions `!{-{bad wolf}}(STET)`
|
||||
* Metadata:
|
||||
* Comments on all types in parentheses after `~{old}{new}(comment)` etc
|
||||
* Attribution in parentheses in comment `+{new}(comment (Commenter))`
|
||||
* Date with attribution `-{old}(comment (Commenter 2020-04-21))`
|
||||
* Comment as footnote `?{la de da}(^note) ... (^note) comment`
|
||||
|
||||
> She ~{brushed}{stroked}(I like this better. Attribution with date. (Makyo 2020-04-21)) her fingers +{softly}(Adverbs! Optional attributions!) along the edges of cabinet doors. Each !{-{one}(Do not want. Optional date (Makyo))}(STET (Makyo 2020-04-21)) was opened and inspected, leaving her standing on tiptoes to peer in those above the counters. Nothing but cups and glasses, plates and bowls, cutting boards and pots and pans and trays and dishes. ?{All clean and neatly stacked.}(^note)
|
||||
|
||||
(^note) Are you sure about this? Note at bottom of document (Makyo 2020-04-21)
|
||||
|
||||
## How to use it
|
||||
|
||||
```python
|
||||
default_config = {
|
||||
'tag_tuple': ('<div class="verse">', '</div>'),
|
||||
}
|
||||
my_config = {
|
||||
'tag_tuple': ('<verse>', '</verse>'),
|
||||
}
|
||||
markdown(source, extensions=[VerseExtension(**my_config)])
|
||||
```
|
||||
|
||||
## Where to get it
|
||||
|
||||
* [PyPI](https://pypi.com/project/markdown-verse)
|
||||
* [Github](https://github.com/makyo/markdown-verse)
|
Loading…
Reference in New Issue