* [9fans] Create HTML pages
@ 2022-02-01 7:49 sml
2022-02-01 7:58 ` Alex Musolino
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: sml @ 2022-02-01 7:49 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
Hi,
I wanted to ask if there is a "Plan9 way" to create simple HTML pages. Would this possibly be doable with troff, or is there for example a way to convert Markdown? Since my intention would be a very simple blog, it would also be possible to just create the pages directly in HTML using acme.
Thank you very much in advance and best regards.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te71ff4b45d15900f-M76ec2d55567c9b1d6759481d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1142 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] Create HTML pages
2022-02-01 7:49 [9fans] Create HTML pages sml
@ 2022-02-01 7:58 ` Alex Musolino
2022-02-01 8:12 ` igor
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Alex Musolino @ 2022-02-01 7:58 UTC (permalink / raw)
To: 9fans
> I wanted to ask if there is a "Plan9 way" to create simple HTML
> pages. Would this possibly be doable with troff, or is there for
> example a way to convert Markdown? Since my intention would be a
> very simple blog, it would also be possible to just create the pages
> directly in HTML using acme.
I do this sort of thing using the discount markdown processor
available at https://github.com/Orc/discount.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te71ff4b45d15900f-Ma03866a5e5b0ac2020bcc8ad
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] Create HTML pages
2022-02-01 7:49 [9fans] Create HTML pages sml
2022-02-01 7:58 ` Alex Musolino
@ 2022-02-01 8:12 ` igor
2022-02-01 9:32 ` Rodrigo G. López
2022-02-01 15:59 ` ori
2022-02-01 16:13 ` Ben Hancock
3 siblings, 1 reply; 11+ messages in thread
From: igor @ 2022-02-01 8:12 UTC (permalink / raw)
To: 9fans
Quoth sml@firstpost.pub:
[…]
> I wanted to ask if there is a "Plan9 way" to create simple HTML pages. Would this possibly be doable with troff, or is there for example a way to convert Markdown? Since my intention would be a very simple blog, it would also be possible to just create the pages directly in HTML using acme.
[…]
If you don't mind installing Go the Hugo⁽¹⁾ static site generator
supporting many themes⁽²⁾ is an option. Here is a version that works
with Plan9 (only tested on 9front though):
• http://only9fans.com/igor/hugo/HEAD/info.html
…not sure if this fits your definition of 'Plan9 way'
though.
⁽¹⁾…https://gohugo.io
⁽²⁾…https://themes.gohugo.io
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te71ff4b45d15900f-M02fdd8555a9ec6edc864a0f1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] Create HTML pages
2022-02-01 7:49 [9fans] Create HTML pages sml
2022-02-01 7:58 ` Alex Musolino
2022-02-01 8:12 ` igor
@ 2022-02-01 15:59 ` ori
2022-02-01 16:13 ` Ben Hancock
3 siblings, 0 replies; 11+ messages in thread
From: ori @ 2022-02-01 15:59 UTC (permalink / raw)
To: 9fans
Quoth sml@firstpost.pub:
> Hi,
>
> I wanted to ask if there is a "Plan9 way" to create simple HTML pages. Would this possibly be doable with troff, or is there for example a way to convert Markdown? Since my intention would be a very simple blog, it would also be possible to just create the pages directly in HTML using acme.
>
> Thank you very much in advance and best regards.
Personally, I use sam.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te71ff4b45d15900f-M141e7cee53b3d3f8f5672118
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [9fans] Create HTML pages
2022-02-01 7:49 [9fans] Create HTML pages sml
` (2 preceding siblings ...)
2022-02-01 15:59 ` ori
@ 2022-02-01 16:13 ` Ben Hancock
2022-02-01 16:20 ` ori
3 siblings, 1 reply; 11+ messages in thread
From: Ben Hancock @ 2022-02-01 16:13 UTC (permalink / raw)
To: 9fans
On 1/31/22 23:49, sml@firstpost.pub wrote:
> I wanted to ask if there is a "Plan9 way" to create simple HTML pages.
> Would this possibly be doable with troff, or is there for example a way
> to convert Markdown?
This is not Plan 9 specific, but it sounds like pandoc could help you:
https://pandoc.org/
I generate my blog using a combination of Markdown files, HTML
templates, pandoc, and a shell script. pandoc can also convert from roff
formats, if you're keen to use that.
--
Ben Hancock
www.benghancock.com
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te71ff4b45d15900f-M734d74a517074a4aee433cb9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-02-02 16:17 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 7:49 [9fans] Create HTML pages sml
2022-02-01 7:58 ` Alex Musolino
2022-02-01 8:12 ` igor
2022-02-01 9:32 ` Rodrigo G. López
2022-02-01 10:23 ` sirjofri
2022-02-01 15:59 ` ori
2022-02-01 16:13 ` Ben Hancock
2022-02-01 16:20 ` ori
2022-02-02 6:31 ` sml
2022-02-02 16:01 ` Ben Hancock
2022-02-02 16:17 ` Charles Forsyth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).