[twdev] Re: Hackable (Scriptable) Markdown Wiki

2020-05-07 Thread MidnightLightning
A lot of what you're describing sounds like running TiddlyWiki in its 
"server" mode: it runs with NodeJS, and keeps all the tiddlers as separate 
files in a single directory. Node hosts a local webserver which you access 
through your browser and can update tiddlers through that UI, or you can 
just update the flat files in the directory. TiddlyWiki has a markdown 
plugin, so you can write tiddlers in Markdown or have the flexibility to 
write in other syntaxes too. That setup is actually what I personally use 
for my private notes, and that allows me to commit the whole directory tree 
to Git, so those flat file changes are version-controlled too. Accessing 
the running server through the UI allows you to Save/Export the wiki as a 
single-file TiddlyWiki file, which is a great way to export different 
versions of the whole wiki, or give people a copy of the wiki without them 
needing to be able to set up a Node environment on their workstation too.



On Wednesday, May 6, 2020 at 11:51:52 PM UTC-5, Eucaly J wrote:
>
> Hi all
>
> I am starting the development of my own wiki tool.
> Aim to be the fusion of Evernote and TiddlyWiki
>
>
>- markdown native format
>
>
>
>- directory tree with limited (very less) payload files
>
> => those markdown files could be lossly related (not like TiddlyWiki to 
> cook them as a set)
> => very similar to the concept of Lolinote
> Spec of Lolinote 2.0 - 
> https://github.com/visig9/lolinote-spec/blob/master/spec-2.0.md
> Spec 1.0 - 
> https://bitbucket.org/civalin/lolinote/wiki/Rules%20&%20Philosophy
>
>
>- Hackable (Scriptable) 
>
>
>
> The current spec (wish list) is available at 
> https://www.dropbox.com/s/z7w3mty0h55rdyd/bzWiki.md?dl=0
>
> Of course, if there's already something very similar, 
> I would be very happy to save my effort for developing that.
>
> (p.s. very likely with nodejs and/or Chrome Extension)
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/1e7ba400-b2ae-4948-89f2-e2d95b24e50f%40googlegroups.com.


[twdev] Re: First call for planned release of v5.1.20

2019-06-15 Thread MidnightLightning
Thanks Jeremy!
My pull request (https://github.com/Jermolene/TiddlyWiki5/pull/3876) for 
changing the Markdown plugin to use the Remarkable rendering library has 
been hanging out there for a while now, and I think it only needs a final 
ACK? I noticed pull request #3271 is also with regard to the Markdown 
renderer (and I think switching to the Remarkable library handles that use 
case too). Could this be considered for the upgrade? Or what else should be 
done there to make it ready?



On Thursday, June 13, 2019 at 11:49:46 AM UTC-5, Jeremy Ruston wrote:
>
> I’d like to try to get v5.1.20 released in the next week or two. With that 
> in mind, I’d be grateful for assistance in testing and verifying the latest 
> build:
>
> https://tiddlywiki.com/prerelease/
>
> In particular, this is a great time for plugin developers/users to test 
> the new release with important plugins and let us know if there are any 
> backwards compatibility issues. 
>
> Even by TW5 standards, it’s been a long delay since the last release in 
> December. That’s entirely my fault, but I’d like to try to avoid delaying 
> the release with any further pull requests. Having said that, if you’re 
> responsible for any unmerged PRs that you believe are ready to be merged 
> then please do let me know.
>
> Best wishes
>
> Jeremy.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/fc213aa5-a7d4-452d-abf1-a75ee2bef291%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Meaning of 5 , 1 , 19 ?

2019-04-22 Thread MidnightLightning
There's a conversation over at 
https://github.com/Jermolene/TiddlyWiki5/issues/3834 on the GitHub repo 
that asks a pretty similar question too.


On Monday, April 22, 2019 at 4:20:38 AM UTC-5, Mat wrote:
>
> What does it take to jump "a tenth" in the version number, i.e to get TW 
> version 5.2? Seems like we over modestly increment with 1/1000 even when 
> pretty big improvements are made.
>
> More generally put, what do the value positions in 5.1.19 actually signify 
> in TW - there is no exact standard for versioning 
> ? 
> And actually, is "5" a version number or a part of the product name?
>
> <:-)
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/023ddcbf-6f5c-4f95-aa19-8b7f442d4feb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Change from Template to ViewTemplate

2019-03-28 Thread MidnightLightning
I didn't put them all in one tiddler since I want to use pieces of it 
elsewhere; on tag pages, I want it automatically added as a suffix after 
the body of the tiddler. But on other tiddlers, I may want to talk about 
some different tags and include a list about them (e.g. "RPG characters 
have skills and feats. <$macrocall $name="listTagged" tagName="skills" /> 
<$macrocall $name="listTagged" tagName="feats" /> Pick two skills and one 
feat to start.").



On Wednesday, March 27, 2019 at 11:24:47 PM UTC-5, Mohammad wrote:
>
> Why dont put all of them in one tiddler?
>
> On Monday, March 25, 2019 at 5:55:24 PM UTC+4:30, MidnightLightning wrote:
>>
>> Thanks, that got me on the right track for an answer!
>>
>> Using the [taglimit[1]]] filter as an outer $list works, 
>> though it resets the currentTiddler variable to the first tiddler that's 
>> tagged with the original tiddler. So, I ended up doing this:
>>
>> A global Macro (in case I want to use it elsewhere):
>>
>> \define listTagged(tagName)
>> <$set name="t" value=<<__tagName__>>><$list filter="[title]">
>> <$count filter="[tag]" /> Pages tagged with <$macrocall $name=
>> "tag-pill-body" tag=<> icon={{!!icon}} colour={{!!color}} 
>> palette={{$:/palette}} element-tag="""$button""" 
>> element-attributes="""tag='span'"""/>:
>> <$list filter="[tag]">
>> <$link><$view field="title" />
>> 
>> 
>> 
>> \end
>>
>>
>> And then a ViewTemplate to use it:
>>
>> <$set name="t" value=<>>
>> <$list filter="[taglimit[1]]">
>> 
>> <$macrocall $name="listTagged" tagName=<> />
>> 
>> 
>>
>>
>> The trick is I used a $set call to save the first currentTiddler value 
>> to a separate variable (t) for use later in the logic.
>>
>>
>>
>> On Friday, March 22, 2019 at 9:50:09 PM UTC-5, TonyM wrote:
>>>
>>> MidnightLightning
>>>
>>> Partial answer for you, but FYI the standard google groups is 
>>> appropriate for this kind of question and you may get a faster response 
>>> there.
>>>
>>> Rather than count the tags $list <https://tiddlywiki.com/#ListWidget> 
>>> the tags with limit[1] and the content of the list widget will only show if 
>>> there are more than one tag.
>>>
>>> [taglimit[1]]
>>>
>>> You could use emptyMessage if you wanted.
>>>
>>> In other circumstances (except variables at present) you can use the 
>>> View widget, as The content of the <$view> widget is displayed if the 
>>> field or property is missing or empty.
>>>
>>> Regards
>>> Tony
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/39946865-e528-4f0a-98e8-1505ebedd6d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Change from Template to ViewTemplate

2019-03-25 Thread MidnightLightning
Thanks, that got me on the right track for an answer!

Using the [taglimit[1]]] filter as an outer $list works, 
though it resets the currentTiddler variable to the first tiddler that's 
tagged with the original tiddler. So, I ended up doing this:

A global Macro (in case I want to use it elsewhere):

\define listTagged(tagName)
<$set name="t" value=<<__tagName__>>><$list filter="[title]">
<$count filter="[tag]" /> Pages tagged with <$macrocall $name=
"tag-pill-body" tag=<> icon={{!!icon}} colour={{!!color}} 
palette={{$:/palette}} element-tag="""$button""" 
element-attributes="""tag='span'"""/>:
<$list filter="[tag]">
<$link><$view field="title" />



\end


And then a ViewTemplate to use it:

<$set name="t" value=<>>
<$list filter="[taglimit[1]]">

<$macrocall $name="listTagged" tagName=<> />




The trick is I used a $set call to save the first currentTiddler value to a 
separate variable (t) for use later in the logic.



On Friday, March 22, 2019 at 9:50:09 PM UTC-5, TonyM wrote:
>
> MidnightLightning
>
> Partial answer for you, but FYI the standard google groups is appropriate 
> for this kind of question and you may get a faster response there.
>
> Rather than count the tags $list <https://tiddlywiki.com/#ListWidget> the 
> tags with limit[1] and the content of the list widget will only show if 
> there are more than one tag.
>
> [taglimit[1]]
>
> You could use emptyMessage if you wanted.
>
> In other circumstances (except variables at present) you can use the View 
> widget, as The content of the <$view> widget is displayed if the field or 
> property is missing or empty.
>
> Regards
> Tony
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/b61c9219-b6d8-4a21-be88-cb93356489d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Change from Template to ViewTemplate

2019-03-21 Thread MidnightLightning
I created a Tiddler intended to be used as a Template for Transclusion, 
that shows a list of pages tagged with the current tiddler, with a header 
on the list:

Pages tagged with <$macrocall $name="tag-pill-body" tag=<> 
icon={{!!icon}} colour={{!!color}} palette={{$:/palette}} 
element-tag="""$button""" element-attributes="""tag='span'"""/>:
<$list filter="[tag]">
<$link><$view field="title" />


That works well enough if I add in "{{||Tagged Pages List}}" on the 
tiddlers that are used as tags, but what I'd like is to put in the logic 
"If any tiddlers use this tiddler as a tag, then show this block of text". 
I think adding a tiddler as a ViewTemplate would allow this, but what I'm 
struggling with is that header above the list. On pages that have no 
tiddlers that use it as a tag, I don't want that header to show.

I see the CountWidget as a way to get a "how many tiddlers are tagged with 
this one" (<$count filter="[tag]" />), but how to do the 
"if ... then" logic within the template, to not show anything if the count 
is zero? Is this one where I'd be best defining my own Widget to handle 
that?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/be359675-186d-4069-951c-a9df009bb725%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.