So, I had been writing dropbox-synced, gpg-encrypted,
diaries with vim editor. As I am writing a diary, I'd want to
share a paragraph or a word only with specific people,
while share other parts of the text with other set of
people, and other parts of the text with all of the crypto-
friends,
and yet other parts of the text leave for rendition
to html and publication on my homepage.
The syntax would work by using {: and :} symbols to
enclose the text with sharing options. The sharing options
would be denoted by the group or friend names in the
beginning symbol as this {:group1,group2,..,groupN|
content :}. The groups then would be defined in a config
file, which would have a JSON like
individuals {
'friend1': '/media/truecrypt1 /vimwikis/friend1',
'friend2': '/media/truecrypt1 /vimwikis/friend2'
}
groups {
'group1': ['friend1','friend2'],
'group2': ['friend2']
}
Vim editor already has the command :Vimwiki2HTML
function that renders a VimWiki into a publishable HTML.
The Text Sharing Markup would have a command
:Vimwiki2Friends, that automatically parses and copies file
to specified set of folders, which could then (over a
dropbox or other syncying service) be auto-shared with
select friends.