ident
All repositories: gitoria
1.4 KB
// hl:markdown — the View of one LEAF block (paragraph, heading, code, rule, table):// `MdBlock { mdBlock = b }`. Lists and quotes hold blocks, so they are written by// the MdBlocksN levels that place this. An element holding inline content starts// with an empty text: that keeps hl:web's readable HTML from putting line breaks// (visible spaces) between a text and the <code> or <strong> after it.import MdInline from './MdInline.hl'mdBlock = {}View {if (mdBlock.isP) { p { '' MdInline { mdSpans = mdBlock.spans } } }else if (mdBlock.isBare) { MdInline { mdSpans = mdBlock.spans } }else if (mdBlock.isH1) { h1 { '' MdInline { mdSpans = mdBlock.spans } } }else if (mdBlock.isH2) { h2 { '' MdInline { mdSpans = mdBlock.spans } } }else if (mdBlock.isH3) { h3 { '' MdInline { mdSpans = mdBlock.spans } } }else if (mdBlock.isH4) { h4 { '' MdInline { mdSpans = mdBlock.spans } } }else if (mdBlock.isH5) { h5 { '' MdInline { mdSpans = mdBlock.spans } } }else if (mdBlock.isH6) { h6 { '' MdInline { mdSpans = mdBlock.spans } } }else if (mdBlock.isCode) { pre { code { class = mdBlock.langClass mdBlock.code } } }else if (mdBlock.isHr) { hr { } }else if (mdBlock.isTable) {table {thead { tr { for (c of mdBlock.head.cells) { th { align = c.align '' MdInline { mdSpans = c.spans } } } } }tbody { for (r of mdBlock.rows) { tr { for (c of r.cells) { td { align = c.align '' MdInline { mdSpans = c.spans } } } } } }}}}
Branches
Latest commits
- e24b59a6ident#40.3: the time zone is one component (components/timezone.hl); its face changeTimeZone moves with itmre
- 8cbc5717ident#40.3: the email step is one component (components/emailstep.hl) placed by home.hl and embed.hlmre
- 6fad3bd2Merge branch 'f3-codestep' into mainIdent
- 51e387f2|||PR ident#40 the code step is one component (components/codestep.hl) placed by home.hl and embed.hl; its verify face, setCode, browserZone and verify call exist once (#40.2)mre
- c28bddeeMerge branch 'f2-shell' into mainIdent
- c3a40ff6|||PR ident#40 one shell for the app and /start (account part off on /start, #40.1); startshell.hl removed; unused signOut faces gone (#40.4)mre
- 060f3870ident#40.4: use the shell sign-out faces in regression gatesmre
- 9b94aa6aMerge branch 'f1b-cleanup' into mainIdent
- edcfce3f|||PR ident#41 ident#43 ident#44 login error page as a component (same status codes and text, pixel-identical), declarations and route wiring cleaned upmre
- 3ac85995ident#43 ident#44: plain declarations for never-reassigned lets, one envString helper, named route functions and audience rule out of project.hlmre
- c7eef14aMerge branch 'nv1-navigate' into mainIdent
- 644f9775|||PR ident#36 navigate() instead of window.location in the shell, start shell and homemre
- 4ca2f921deploy.sh: tar --hard-dereference so backups hold no hard linksmre
- 23971fb7ident#49: media queries in the language's @media formmre
- 73f4f97dident: re-vendor to hybriel day38b (mpackdb store-open fix)mre
- aa056c03ident: a startup error prints its message before exit 1 (hybriel#247)mre
- ee37a861ident#G48: gitoria's registration gets the wildcard origin of its repo addresses at load (gate tests/gitoria-origin.mjs)mre
- dc6d486fident#27: the docs gate expects the new Access entry in the main menumre
- d277633cident#27: README: identity access and the introspect endpointmre
- e999b0d3ident#27: the Access tab — one key per identity for all its apps: give access in three steps, the overview matrix, a cell's sheet (since, last use, level, rotate, revoke), the app's check POST /api/introspect, agent identities hidden from the login picker, an inbox icon in the header's icon style (gate: tests/access.mjs)mre