* [gentoo-user] Wiki-viewer anyone?
@ 2017-10-06 17:07 tuxic
2017-10-06 17:49 ` Andrew Tselischev
0 siblings, 1 reply; 9+ messages in thread
From: tuxic @ 2017-10-06 17:07 UTC (permalink / raw
To: Gentoo
Hi,
The u8g8lib, which contains libraries to drive a great amount of
displays for mainly embedded electronics has a wiki on github, which
can be oficially git-pulled as a local copy...which I did.
Now I have tons of *.md (markdown) -files instead of html and I
dont know of any handy viewer for these.
Since I want to update the repo from time to time
I dont want to convert them.
Is there any recommended quick and clean way to view these files on the fly as
they would be html?
Thanks a lot for any help in advance!
Cheers
Meino
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Wiki-viewer anyone?
2017-10-06 17:07 [gentoo-user] Wiki-viewer anyone? tuxic
@ 2017-10-06 17:49 ` Andrew Tselischev
2017-10-06 22:41 ` tuxic
0 siblings, 1 reply; 9+ messages in thread
From: Andrew Tselischev @ 2017-10-06 17:49 UTC (permalink / raw
To: gentoo-user
On Fri, Oct 06, 2017 at 07:07:04PM +0200, tuxic@posteo.de wrote:
> Hi,
>
> The u8g8lib, which contains libraries to drive a great amount of
> displays for mainly embedded electronics has a wiki on github, which
> can be oficially git-pulled as a local copy...which I did.
>
> Now I have tons of *.md (markdown) -files instead of html and I
> dont know of any handy viewer for these.
>
> Since I want to update the repo from time to time
> I dont want to convert them.
>
> Is there any recommended quick and clean way to view these files on the fly as
> they would be html?
>
> Thanks a lot for any help in advance!
> Cheers
> Meino
>
Markdown is a markup language that was specifically designed to be readable in the source.
However, if you still find it hard to read, perhaps syntax highlighting in a fancy
text editor can help approximate the intended effects of the markup.
Also, there are markdown-to-HTML translators. Some are even included in portage tree.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Wiki-viewer anyone?
2017-10-06 17:49 ` Andrew Tselischev
@ 2017-10-06 22:41 ` tuxic
2017-10-06 22:49 ` R0b0t1
2017-10-07 8:19 ` Neil Bothwick
0 siblings, 2 replies; 9+ messages in thread
From: tuxic @ 2017-10-06 22:41 UTC (permalink / raw
To: gentoo-user
On 10/06 05:49, Andrew Tselischev wrote:
> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tuxic@posteo.de wrote:
> > Hi,
> >
> > The u8g8lib, which contains libraries to drive a great amount of
> > displays for mainly embedded electronics has a wiki on github, which
> > can be oficially git-pulled as a local copy...which I did.
> >
> > Now I have tons of *.md (markdown) -files instead of html and I
> > dont know of any handy viewer for these.
> >
> > Since I want to update the repo from time to time
> > I dont want to convert them.
> >
> > Is there any recommended quick and clean way to view these files on the fly as
> > they would be html?
> >
> > Thanks a lot for any help in advance!
> > Cheers
> > Meino
> >
>
> Markdown is a markup language that was specifically designed to be readable in the source.
>
> However, if you still find it hard to read, perhaps syntax highlighting in a fancy
> text editor can help approximate the intended effects of the markup.
>
> Also, there are markdown-to-HTML translators. Some are even included in portage tree.
>
I dont want to convert the md-files to html, since I want to update
the repo later (see above).
The problem are files referencing other files. Reading the md-files
via vim (for example) would imply to grab all references by hand.
Fortheremore, tne docs are filled with graphics (for example images
of the fonts, which can be used), which cannot be displayed with an
ASCII-editor.
Formatting is necassary with this docs...
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Wiki-viewer anyone?
2017-10-06 22:41 ` tuxic
@ 2017-10-06 22:49 ` R0b0t1
2017-10-06 22:58 ` Anton Molyboha
2017-10-07 8:19 ` Neil Bothwick
1 sibling, 1 reply; 9+ messages in thread
From: R0b0t1 @ 2017-10-06 22:49 UTC (permalink / raw
To: gentoo-user
On Fri, Oct 6, 2017 at 5:41 PM, <tuxic@posteo.de> wrote:
> On 10/06 05:49, Andrew Tselischev wrote:
>> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tuxic@posteo.de wrote:
>> > Hi,
>> >
>> > The u8g8lib, which contains libraries to drive a great amount of
>> > displays for mainly embedded electronics has a wiki on github, which
>> > can be oficially git-pulled as a local copy...which I did.
>> >
>> > Now I have tons of *.md (markdown) -files instead of html and I
>> > dont know of any handy viewer for these.
>> >
>> > Since I want to update the repo from time to time
>> > I dont want to convert them.
>> >
>> > Is there any recommended quick and clean way to view these files on the fly as
>> > they would be html?
>> >
>> > Thanks a lot for any help in advance!
>> > Cheers
>> > Meino
>> >
>>
>> Markdown is a markup language that was specifically designed to be readable in the source.
>>
>> However, if you still find it hard to read, perhaps syntax highlighting in a fancy
>> text editor can help approximate the intended effects of the markup.
>>
>> Also, there are markdown-to-HTML translators. Some are even included in portage tree.
>>
>
>
> I dont want to convert the md-files to html, since I want to update
> the repo later (see above).
> The problem are files referencing other files. Reading the md-files
> via vim (for example) would imply to grab all references by hand.
> Fortheremore, tne docs are filled with graphics (for example images
> of the fonts, which can be used), which cannot be displayed with an
> ASCII-editor.
> Formatting is necassary with this docs...
>
Typically what is done is you render the whole Wiki to HTML, and then
view it in a browser. You don't edit the HTML directly. It should be
possible to generate it incrementally.
The one catch is that they might be relying on GitHub's integrated
Wiki system. If they are, you might need to install Gollum to process
the markdown files to HTML.
Cheers,
R0b0t1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Wiki-viewer anyone?
2017-10-06 22:49 ` R0b0t1
@ 2017-10-06 22:58 ` Anton Molyboha
2017-10-06 23:06 ` Randolph Maaßen
0 siblings, 1 reply; 9+ messages in thread
From: Anton Molyboha @ 2017-10-06 22:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2313 bytes --]
On Fri, Oct 6, 2017 at 6:49 PM, R0b0t1 <r030t1@gmail.com> wrote:
> On Fri, Oct 6, 2017 at 5:41 PM, <tuxic@posteo.de> wrote:
> > On 10/06 05:49, Andrew Tselischev wrote:
> >> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tuxic@posteo.de wrote:
> >> > Hi,
> >> >
> >> > The u8g8lib, which contains libraries to drive a great amount of
> >> > displays for mainly embedded electronics has a wiki on github, which
> >> > can be oficially git-pulled as a local copy...which I did.
> >> >
> >> > Now I have tons of *.md (markdown) -files instead of html and I
> >> > dont know of any handy viewer for these.
> >> >
> >> > Since I want to update the repo from time to time
> >> > I dont want to convert them.
> >> >
> >> > Is there any recommended quick and clean way to view these files on
> the fly as
> >> > they would be html?
> >> >
> >> > Thanks a lot for any help in advance!
> >> > Cheers
> >> > Meino
> >> >
> >>
> >> Markdown is a markup language that was specifically designed to be
> readable in the source.
> >>
> >> However, if you still find it hard to read, perhaps syntax highlighting
> in a fancy
> >> text editor can help approximate the intended effects of the markup.
> >>
> >> Also, there are markdown-to-HTML translators. Some are even included in
> portage tree.
> >>
> >
> >
> > I dont want to convert the md-files to html, since I want to update
> > the repo later (see above).
> > The problem are files referencing other files. Reading the md-files
> > via vim (for example) would imply to grab all references by hand.
> > Fortheremore, tne docs are filled with graphics (for example images
> > of the fonts, which can be used), which cannot be displayed with an
> > ASCII-editor.
> > Formatting is necassary with this docs...
> >
>
> Typically what is done is you render the whole Wiki to HTML, and then
> view it in a browser. You don't edit the HTML directly. It should be
> possible to generate it incrementally.
>
> The one catch is that they might be relying on GitHub's integrated
> Wiki system. If they are, you might need to install Gollum to process
> the markdown files to HTML.
>
> Cheers,
> R0b0t1
>
>
This is a definite overkill, but I'm using JetBrains' IntelliJ Idea
(actually PyCharm) with the markdown plugin. It shows markdown and html
side-to-side in the editor.
Anton
[-- Attachment #2: Type: text/html, Size: 3331 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Wiki-viewer anyone?
2017-10-06 22:58 ` Anton Molyboha
@ 2017-10-06 23:06 ` Randolph Maaßen
2017-10-07 3:29 ` tuxic
0 siblings, 1 reply; 9+ messages in thread
From: Randolph Maaßen @ 2017-10-06 23:06 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2727 bytes --]
You might be interested in got hooks [1], especially the post-checkout hook.
I would try to automatically recompile the md-> HTML on every checkout, so
the HTML is up to date after pulling
[1] https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks
Am Sa., 7. Okt. 2017, 00:58 schrieb Anton Molyboha <
anton.stay.connected@gmail.com>:
> On Fri, Oct 6, 2017 at 6:49 PM, R0b0t1 <r030t1@gmail.com> wrote:
>
>> On Fri, Oct 6, 2017 at 5:41 PM, <tuxic@posteo.de> wrote:
>> > On 10/06 05:49, Andrew Tselischev wrote:
>> >> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tuxic@posteo.de wrote:
>> >> > Hi,
>> >> >
>> >> > The u8g8lib, which contains libraries to drive a great amount of
>> >> > displays for mainly embedded electronics has a wiki on github, which
>> >> > can be oficially git-pulled as a local copy...which I did.
>> >> >
>> >> > Now I have tons of *.md (markdown) -files instead of html and I
>> >> > dont know of any handy viewer for these.
>> >> >
>> >> > Since I want to update the repo from time to time
>> >> > I dont want to convert them.
>> >> >
>> >> > Is there any recommended quick and clean way to view these files on
>> the fly as
>> >> > they would be html?
>> >> >
>> >> > Thanks a lot for any help in advance!
>> >> > Cheers
>> >> > Meino
>> >> >
>> >>
>> >> Markdown is a markup language that was specifically designed to be
>> readable in the source.
>> >>
>> >> However, if you still find it hard to read, perhaps syntax
>> highlighting in a fancy
>> >> text editor can help approximate the intended effects of the markup.
>> >>
>> >> Also, there are markdown-to-HTML translators. Some are even included
>> in portage tree.
>> >>
>> >
>> >
>> > I dont want to convert the md-files to html, since I want to update
>> > the repo later (see above).
>> > The problem are files referencing other files. Reading the md-files
>> > via vim (for example) would imply to grab all references by hand.
>> > Fortheremore, tne docs are filled with graphics (for example images
>> > of the fonts, which can be used), which cannot be displayed with an
>> > ASCII-editor.
>> > Formatting is necassary with this docs...
>> >
>>
>> Typically what is done is you render the whole Wiki to HTML, and then
>> view it in a browser. You don't edit the HTML directly. It should be
>> possible to generate it incrementally.
>>
>> The one catch is that they might be relying on GitHub's integrated
>> Wiki system. If they are, you might need to install Gollum to process
>> the markdown files to HTML.
>>
>> Cheers,
>> R0b0t1
>>
>>
> This is a definite overkill, but I'm using JetBrains' IntelliJ Idea
> (actually PyCharm) with the markdown plugin. It shows markdown and html
> side-to-side in the editor.
>
> Anton
>
>
[-- Attachment #2: Type: text/html, Size: 4183 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Wiki-viewer anyone?
2017-10-06 23:06 ` Randolph Maaßen
@ 2017-10-07 3:29 ` tuxic
0 siblings, 0 replies; 9+ messages in thread
From: tuxic @ 2017-10-07 3:29 UTC (permalink / raw
To: gentoo-user
On 10/06 11:06, Randolph Maaßen wrote:
> You might be interested in got hooks [1], especially the post-checkout hook.
>
> I would try to automatically recompile the md-> HTML on every checkout, so
> the HTML is up to date after pulling
>
> [1] https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks
>
> Am Sa., 7. Okt. 2017, 00:58 schrieb Anton Molyboha <
> anton.stay.connected@gmail.com>:
>
> > On Fri, Oct 6, 2017 at 6:49 PM, R0b0t1 <r030t1@gmail.com> wrote:
> >
> >> On Fri, Oct 6, 2017 at 5:41 PM, <tuxic@posteo.de> wrote:
> >> > On 10/06 05:49, Andrew Tselischev wrote:
> >> >> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tuxic@posteo.de wrote:
> >> >> > Hi,
> >> >> >
> >> >> > The u8g8lib, which contains libraries to drive a great amount of
> >> >> > displays for mainly embedded electronics has a wiki on github, which
> >> >> > can be oficially git-pulled as a local copy...which I did.
> >> >> >
> >> >> > Now I have tons of *.md (markdown) -files instead of html and I
> >> >> > dont know of any handy viewer for these.
> >> >> >
> >> >> > Since I want to update the repo from time to time
> >> >> > I dont want to convert them.
> >> >> >
> >> >> > Is there any recommended quick and clean way to view these files on
> >> the fly as
> >> >> > they would be html?
> >> >> >
> >> >> > Thanks a lot for any help in advance!
> >> >> > Cheers
> >> >> > Meino
> >> >> >
> >> >>
> >> >> Markdown is a markup language that was specifically designed to be
> >> readable in the source.
> >> >>
> >> >> However, if you still find it hard to read, perhaps syntax
> >> highlighting in a fancy
> >> >> text editor can help approximate the intended effects of the markup.
> >> >>
> >> >> Also, there are markdown-to-HTML translators. Some are even included
> >> in portage tree.
> >> >>
> >> >
> >> >
> >> > I dont want to convert the md-files to html, since I want to update
> >> > the repo later (see above).
> >> > The problem are files referencing other files. Reading the md-files
> >> > via vim (for example) would imply to grab all references by hand.
> >> > Fortheremore, tne docs are filled with graphics (for example images
> >> > of the fonts, which can be used), which cannot be displayed with an
> >> > ASCII-editor.
> >> > Formatting is necassary with this docs...
> >> >
> >>
> >> Typically what is done is you render the whole Wiki to HTML, and then
> >> view it in a browser. You don't edit the HTML directly. It should be
> >> possible to generate it incrementally.
> >>
> >> The one catch is that they might be relying on GitHub's integrated
> >> Wiki system. If they are, you might need to install Gollum to process
> >> the markdown files to HTML.
> >>
> >> Cheers,
> >> R0b0t1
> >>
> >>
> > This is a definite overkill, but I'm using JetBrains' IntelliJ Idea
> > (actually PyCharm) with the markdown plugin. It shows markdown and html
> > side-to-side in the editor.
> >
> > Anton
> >
> >
Hello all,
thanks a lot for all the reponses to my question.
I found a Firefox-Plugin, which is able to render
markdown on the fly. It is here:
https://addons.mozilla.org/en-US/firefox/addon/markdown-viewer-webext/?src=search
Despite the comment of one user, it DOES display local markdown
formatted files...just with a small little delay...
Cheers
Meino
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Wiki-viewer anyone?
2017-10-06 22:41 ` tuxic
2017-10-06 22:49 ` R0b0t1
@ 2017-10-07 8:19 ` Neil Bothwick
2017-10-07 9:28 ` tuxic
1 sibling, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2017-10-07 8:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 936 bytes --]
On Sat, 7 Oct 2017 00:41:26 +0200, tuxic@posteo.de wrote:
> I dont want to convert the md-files to html, since I want to update
> the repo later (see above).
> The problem are files referencing other files. Reading the md-files
> via vim (for example) would imply to grab all references by hand.
> Fortheremore, tne docs are filled with graphics (for example images
> of the fonts, which can be used), which cannot be displayed with an
> ASCII-editor.
> Formatting is necassary with this docs...
I see nothing wrong with generating HTML versions, as long as you don't
mind doing so after each time you update (you cold use a scriot to do
both for you). But if you really want to to work directly with the md
files, this may work for you https://github.com/joeyespo/grip
--
Neil Bothwick
No trees were harmed in the sending of this message. However, a large
number of electrons were terribly inconvenienced.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Wiki-viewer anyone?
2017-10-07 8:19 ` Neil Bothwick
@ 2017-10-07 9:28 ` tuxic
0 siblings, 0 replies; 9+ messages in thread
From: tuxic @ 2017-10-07 9:28 UTC (permalink / raw
To: gentoo-user
On 10/07 08:19, Neil Bothwick wrote:
> On Sat, 7 Oct 2017 00:41:26 +0200, tuxic@posteo.de wrote:
>
> > I dont want to convert the md-files to html, since I want to update
> > the repo later (see above).
> > The problem are files referencing other files. Reading the md-files
> > via vim (for example) would imply to grab all references by hand.
> > Fortheremore, tne docs are filled with graphics (for example images
> > of the fonts, which can be used), which cannot be displayed with an
> > ASCII-editor.
> > Formatting is necassary with this docs...
>
> I see nothing wrong with generating HTML versions, as long as you don't
> mind doing so after each time you update (you cold use a scriot to do
> both for you). But if you really want to to work directly with the md
> files, this may work for you https://github.com/joeyespo/grip
>
>
> --
> Neil Bothwick
>
> No trees were harmed in the sending of this message. However, a large
> number of electrons were terribly inconvenienced.
Hi Neil,
thanks for the info and the link.
I tried it. Unfortunately grip failed with an error.
Dont have the time to dive for it ...
Cheers
Meino
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-10-07 9:29 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-06 17:07 [gentoo-user] Wiki-viewer anyone? tuxic
2017-10-06 17:49 ` Andrew Tselischev
2017-10-06 22:41 ` tuxic
2017-10-06 22:49 ` R0b0t1
2017-10-06 22:58 ` Anton Molyboha
2017-10-06 23:06 ` Randolph Maaßen
2017-10-07 3:29 ` tuxic
2017-10-07 8:19 ` Neil Bothwick
2017-10-07 9:28 ` tuxic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox