Im lost, what markup language is used to create pages for the nomad network? #677
Replies: 3 comments
-
I did find the Markup in the man pages for the nomadnet client on linux. But this doesnt really show me how to do it. Reading the page doesnt show me HOW to code in it, i guess i just learn differently than the man pages are showing me the information. Are there any online guides (preferably videos) or examples? I am also confused on whether this is written in a larger python file, if its a .mu file that i script with python or if its functional on its own. I looked at the example file but that just confused me more. Im seriously lost here. |
Beta Was this translation helpful? Give feedback.
-
Hi. There is a chapter on micron in the nomadnetwork guide, navigate to the tab guide and choose markup. for static .mu micron pages, one can easy just rename markdown or any.txt files to get something up, and thinker with it a bit. for more interactive stuff one can make scripts like in a .mu using shebangs like #!/usr/bin/env python3 |
Beta Was this translation helpful? Give feedback.
-
An .mu file without the executable bit set is read as a text file; your
Micron encoded text file will be displayed.
An .mu file with the executable bit set will be run. For example, with the
bit set and a file starting "#! /usr/bin/python3" will be run as a python3
file, and the output to the terminal (such as print () commands **and any
RNS logs, error messages, etc.** will be rendered using Micron formatting.
So you can make flat pages as text, and dynamic pages using basically
anything that runs and outputs to the terminal, but it needs to terminate,
so you can't wait for input or anything.
…On Sat, Jan 18, 2025, 12:17 PM Swissbandit ***@***.***> wrote:
Hi. There is a chapter on micron in the nomadnetwork guide, navigate to
the tab guide and choose micron.
also on my node are some pages explaining a bit.
and if you load nomadnode pages (the static ones) you can watch them raw
in any editor, when inspecting the files in the cache folder of .nomadnet
make the pages as you wish, call them .mu and place them in the pages
folder, then place a link on your index.mu node startpage.
restart nomadnet to get new pages active,browse your own while you build
it, also via meshchat.
—
Reply to this email directly, view it on GitHub
<#677 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIZNI3L5WONZUCLF4IZORT2LKLBZAVCNFSM6AAAAABVNFCQTWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBXGY4DCNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I want to get started building a "web" page for the nomad network. But I am having a lot of trouble finding documentation that talks about what specific markup language is used for creating pages. The documentation I have found so far talks about having a markup language for pages, but doesn't specify what language is used. Micron is mentioned a few times, but I am not sure if my google results are showing me what I actually want because there are other languages called micron for AI chips apparently? Any help or links to pages that have guides, documentation.. I will take basically anything at this point.
Beta Was this translation helpful? Give feedback.
All reactions