Masthash

#Markup

David Megginson
3 weeks ago

@brunty OK, I'll admit, I love #XML too: I wrote two books about it and was a member of the original #W3C XML WG and chaired the XML Core WG afterwards. 🙂

But all the same, when I was chairing XML 2007, I did invite @douglascrockford to give a closing keynote about #JSON, just to remind the aficionados that there was more to #markup than XML.

Mark Gardner ‍:sdf:
1 month ago

@ndw Reading your bio. I’m almost reluctant to point out that the same “worse is better” cycle applies to #markup languages.

https://social.sdf.org/@mjgardner/110232003952145134

#JSON was a reaction to #XML, #Markdown was a reaction to #HTML, and both have since acquired layers to add back what they threw away.

Igor Warneck
1 month ago

Und wieder zurück ohne Elch - und dann ist die Formatierung nur noch #Markup ... hmmm ...

Jetzt auch nicht so überzeugend.

Inautilo
2 months ago

#Design #Development #Introductions
How to draw with SVG code · Learn how SVGs work by creating graphics using only a text editor https://ilo.im/12abmv

_____
#GraphicDesign #WebDesign #WebDevelopment #WebDev #Frontend #Code #SVG #Markup #Drawing #CodeEditor #TextEditor

Choan Gálvez 🐐
2 months ago

I thought the era of putting any imaginable webpage block inside a list was long gone.

I was #wrong, it seems.

#markup, they say. Fucked up, I say.

Inautilo
2 months ago

#Development #Techniques
Fighting inter-component HTML bloat · Ways to deal with an unwanted byproduct in design systems https://ilo.im/11xzob · by @elise

_____
#DesignSystem #Webperformance #WebPerf #WebDevelopment #WebDev #Frontend #HTML #Markup #Accessibility #A11y

Dave Mackey
2 months ago

recent favorite web #discovery: https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference

It's a nice cheat sheet on a lot of #LaTeX / #MathJax #markup for creating #mathematical notation.

I get a strange pleasure from typing in the somewhat arcane markup to create beautiful mathematic formulas.

(I mainly use this when taking notes in #Obisidan)

#TeXLaTeX

Jan :rust: :ferris:
2 months ago

I've recently thought about if there is not an easier to learn alternative to #LaTeX...and maybe even in #Rust!?

My inner voice: Come on, you are a dreamer!

Well...sometimes dreams come true:

#Typst - A new markup-based typesetting system that is powerful and easy to learn.

https://typst.app/

It is in beta and open source:
https://github.com/typst/typst

#Markup #OpenSource #TypeSetting #PDF #RustLang

Marcus "MajorLinux" Summers
2 months ago

The Pixel is not having a good couple of weeks...

Pixel Markup vulnerability lets some screenshots be un-redacted, un-cropped; fixed by March update https://9to5google.com/2023/03/18/pixel-markup-screenshot-vulnerability/

#Google #Pixel #Markup #Vulnerability #Redaction #Update #InfoSec #TechNews

Someone using the crop tool on an image using a Pixel phone.
Aral Balkan
2 months ago

Did someone say Markdown in components? Yep, you can now do that in Kitten (as of a few minutes ago in main).

Markdown support is now in the core renderer and every Kitten feature is now supported under Markdown as it is under HTML (Kitten conditionals, components, etc.)

Mix and match to your heart’s desire :)

:kitten:💕

https://codeberg.org/kitten/app

#Kitten #SmallWeb #Markdown #markup #html #web #dev

Screenshot with Helix Editor editing index.page on the left side of the screen and a browser showing the page rendered (it’s a mock blog example with a heading, a figure with my photo and the caption It’s-a me… Mario! Umm… Aral, an example of syntax highlighting in a code listing and a dynamic Comments section.

Excerpt of code in editor:

if (!db.comments) db.comments = []

const Footer = _ => markdown`
  <footer class='Footer'>

    ---
    Copyright (c) 2023-present, Aral Balkan.
    
    Released under [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/)

  </footer>
  <style>
    .Footer { margin-top: 2em; margin-bottom: 3em; }
    .Footer p { text-align: center; font-size: small; }
  </style>
`

// This is a demonstration of using the markdown tagged template function.
export default _ => ({
  markup: markdown`
    # My lovely blog

    ![Black and white photo (close-up) of a white passing man](https://ar.al/images/aral-432.jpg "It’s-a me… Mario! Umm… Aral.")

    Lots of interesting things, including code snippets:

    [code js]
    function say (message) {
      console.log(message)
    }
    [code]

    <h2>Comments</h2>

    <if ${db.comments.length === 0}>
      <p>No one’s commented yet… be the first?</p>
    <else>
      <ul>
        ${db.comments.map(comment => html`
Christian Thomas
2 months ago

@stefandumont @resonanzfilter

Ich werfe mal meinen Tipp für den nächsten #RIDE #Review Award in den Ring.

Gut geschrieben, fair, kritisch, methodisch vorbildlich und durchaus innovativ (#TEI-#Markup-Analyse), transparent und sauber gemacht:

Frühwirt/Mayer/Stoxreiter: "Review of 'Theodor #Fontane’s #notebooks A ‘Digital Genetic-Critical and Commented Edition’'." RIDE 16 (2023). doi: 10.18716/ride.a.16.4.(https://ride.i-d-e.de/issues/issue-16/fontane-notebooks/)

#DigitalHumanities #DigitalScholarlyEditions #DHd2023

Dave Mark
3 months ago

Apple Support video: 🍿

"How to sign a document with Markup on your iPhone"

Worth watching, worth knowing. 👍🏻

https://www.youtube.com/watch?v=xvwafoBFZdA

#Apple #AppleSupport #Markup

Aral Balkan
3 months ago

Right, I just made the end tags for <then> and <else> optional so now you can also write your conditionals like this! :)

https://codeberg.org/kitten/app

#Kitten #SmallWeb #conditionals #markup

Screenshot of code:

<ul id='messages' @htmx:load='${js`
showPlaceholder = false
$el.scrollTop = $el.scrollHeight
`}'>
<if ${db.messages.length === 0}>
  <then>
    <li id='placeholder' x-show='showPlaceholder'>
      No messages yet, why not send one?
    </li>
  <else>
    ${db.messages.map(message => html`<${Message} message=${message} />`)}
</if>
</ul>
Aral Balkan
3 months ago

Trying my best to ensure that the authoring experience with Kitten¹ is going to be delightful… and that includes error messages :)

PS. This one isn‘t in the main branch yet.

PPS. The first two links lead to the respective sections of the HTML spec, the last link leads to https://caninclude.glitch.me/caninclude?child=div&parent=p

¹ https://codeberg.org/kitten/app

#Kitten #SmallWeb #web #html #markup #authoring #design

Screenshot of Error 500 page in browser at URL https://localhost.

There is a minimalist illustration of a cute kitten playing with a ball of violet wool. Error code (500) is in large pink letters. Underneath that is the error mesage in violet: 

SyntaxError: Unexpected close tag (p): <p>Moo <div>can’t have a div here</div></p>

(Check you haven’t put flow content where phrasing content is expected (e.g., a <div> inside a <p> tag, etc.)

The words “flow content”, “phrasing content” and “a <div> inside a <p> tag” are hyperlinks.

Under the error message is a Stack trace:

While running htmlSyntaxError in /src/lib/html.js (line 149, column 42)

While running <anonymous> in /src/lib/html.js (line 128, column 11)

While running String.replace in <anonymous>

While running Function.htm in /src/lib/html.js (line 79, column 9)

  const firstOperand = Math.ceil(Math.random()*100)

(This is where the stack trace is cut off in the screenshot.)
Screenshot of same error message, scrolled down to show the whole stack trace. The stack frame that was cut off is shown in full:

While running Function.htm in /src/lib/html.js (line 79, column 9) 

Source code:
  const firstOperand = Math.ceil(Math.random()*100)
  const secondOperand = Math.ceil(Math.random()*100)

  return html` 
    <h1>Components</h1>

    <p>This example demonstrates use of components.</p>

(There is an error pointing to the start of the html tagged template string, where the error occured.)

The stack trace ends with:

While running PageRoute.default [as _handler] in /index.page (line 8, column 14)
While running PageRoute.lazilyLoadedHandler in /src/routes/PageRoute.js (line 72, column 31)

Omg TrebEdit for Android is SO nice. ❤️

#Html #CSS #MarkUp #Coding #Programming #WebDesign

Aral Balkan
3 months ago

html-validate¹ is an awesome offline HTML validator written in Node.js (with accessibility validation, etc.) I just started looking into it and whipped up a little example to test it out.

In case it helps someone else get started with it, here’s the code:

https://gitlab.com/html-validate/html-validate/-/issues/210

Enjoy!

¹ https://html-validate.org

#html #validation #markup #web #dev #SmallWeb #accessibility

Aral Balkan
3 months ago

Also, countless thanks to @developit for the excellent htm and vhtml (https://github.com/developit/vhtml) modules which have made developing Kitten immeasurably easier.

:kitten: 💕

#SmallWeb #Kitten #html #xhtm #htm #vhtml #markup #web #dev

Aral Balkan
3 months ago

Kitten¹ ❤️ HTML :)

Over the weekend, I migrated Kitten from htm (https://github.com/developit/htm) to xhtm (https://github.com/dy/xhtm).

Among other things, you no longer have to close all your tags (<hr> instead of <hr />).

I want to take the opportunity to thank Dmitry Ivanov for working with me over the weekend and making eight releases over the last four days based on issues I uncovered while testing in #Kitten

¹ https://codeberg.org/kitten/app

#SmallWeb #Kitten #html #xhtm #htm #vhtml #markup #web #dev

#markdown #markup solution needed.
If it comes to text processing, my daily driver is #LibreOffice @ Linux Manjaro and #Nextcloud with Collabora Office via #LibreWolf.
I realized, however, that more and more often I happen to publish texts in markdown-oriented environments, like #WriteFreely, #PeerTube or #LiberaPay to name a few.
Now, is there any EWYSIWYG solution for me? I was looking into LibreOffice extensions – nothing. NextCloud has a “markdown #editor”, which is apparently obsolete, and my instance won't touch it with a long stick.

So, what should I do now?
Feth
3 months ago

:troll: What is a better simple #text #markup language (both are extendable) ?

1) #restructuredtext brings file inclusion
2) #makrdown has public inclusion as it is popular in the striving RoR community

@T0xF01AE

Hmm..
I just noticed that koyu.space is flexing its #markup muscles.

#Impressive stuff @koyu

(Unless I'm Stupid_cea again and #mastodon supports it too ? :blobcatadorable: )

Drupad :verified:
3 months ago

@SRLevine Turning off mark up also is an excellent way to speed up your #Word processing overall. Showing #markup always slows down documents when they are a few pages long. #AcademiciansLifeHacks

Zac
4 months ago

This is something that I have been thinking about a bit as of late

#XML #DataTransfer #Markup

https://borretti.me/article/brief-defense-of-xml

Brian Small
4 months ago

🐓Misskey ​:misskey12_67:​ 🦅is way ahead of 🥚Twitly 🐣 !

Elon Musk has been promising longer tweets for a while, saying that the company was also working on introducing the ability to add formatting to the posts, such as bolding words or changing the font size.
- Blue Payers

#Misskey #Fediverse #MarkUp #ProprietarySNSs #BirdSite #Formatting

You don't have to pay a rich guy to do fun stuff
​:ablobcheer:​
 "Hello Fediverse!" 

Because
Money is Stupid.

Ralf Barkow
4 months ago

@t73fde The Power of Plain Text
https://wiki.ralfbarkow.ch/view/the-power-of-plain-text

Wir versuchen, so weit wie möglich ohne #Markup auszukommen. #FederatedWiki #Zettelkasten

Ad Gerrits
4 months ago

After years of using Zim for notes I switched to Obsidian today. Thanks to the usage of markup 2 small renames were sufficient to reuse all notes made with Zim: markup rulez!
#zim #obsidian #markup

Antony "no h" Saba
4 months ago

OH: We are in the yaml-engineering era of computing after all

#yaml #markup #programming #devops

Marcel SIneM(S)US
4 months ago
Dr Joshua Phillips
4 months ago

Society if oXygen consistently auto-closed open tags #xml #digitalhumanities #markup #nichehumour #TEI

tajpulo
4 months ago

Interested in #DigitalTypesetting? Typst is one of the most recent products.

Typst defines a custom typed markup language and generates PDFs with a rust software stack. Simultaneously, they develop a web editor for their #Markup language.

https://typst.app/

Via HackerNews ( https://news.ycombinator.com/item?id=32209794 https://news.ycombinator.com/item?id=34423590 )

1/2

Jake
4 months ago

Looks like #markup links work on the iOS clients I use (#Mastodon, #Metatext, #Ivory), but not the headings or bold or italics. Interesting. (Or maybe I'm doing something wrong.)

Toshimaru Ogura
4 months ago

Japanese translation
日本語に訳しました。

(Markup)欧州のプライバシーに関する権利章典は、本当に履行さているのだろうか?
https://www.alt-movements.org/no_more_capitalism/hankanshi-info/knowledge-base/markup_will-europes-privacy-bill-of-rights-ever-truly-be-enforced_/
#GDPR #markup

Toshimaru Ogura
4 months ago

Will Europe’s Privacy Bill of Rights Ever Truly Be Enforced?

A conversation with Tanya O’Carroll By Julia Angwin
January 14, 2023 08:00 ET
https://themarkup.org/hello-world/2023/01/14/will-europes-privacy-bill-of-rights-ever-truly-be-enforced

#GDPR #markup

Ready. Write. Web.
5 months ago

There are 8 #HTML #markup #attributes which take as a value the #id value of another #element in the same #document:

The first two are:

- for: Associates a label with a form element

- form: Associates an element with a form

The next six are #ARIA attributes:

- aria-activedescendant

- aria-controls

- aria-describedby

- aria-flowto

- aria-labelledby

- aria-owns

#a11y #web #accessibility

#HTML Logo

(The main focus of the image is the orange and white #HTML5 shield from more than ten years ago, but we just say "HTML" these days, don't we?)
Inautilo
5 months ago

A theory of web relativity · The HTML ‘rel’ attribute has the potential to take the internet to the next level https://ilo.im/zwemz

“It plays an important role in providing meaning to the links, taking the Internet to the next level semantically, and boosting your site’s performance through the roof.” — Álvaro Montoro

#development #overviews
#internet #semantics #webdevelopment #webdev #webperformance #link #markup #HTML

Pete Prodoehl 🍕
5 months ago

Whatever happened to RecipeML?

➡️ http://www.formatdata.com/recipeml/

#food #recipe #markup #xml

Dohány Tamás
5 months ago

Button 🔘 semantic maxed out:
Buttons and the Baader–Meinhof phenomenon - Manuel Matuzović https://www.matuzo.at/blog/2022/button-baader/
#markup #html5 & #meta

Don Watkins
6 months ago

Our favorite markup languages for documentation | Opensource.com

https://opensource.com/article/22/12/markup-languages-documentation #markup #documentation #writers

Inautilo
6 months ago

“Reduced usage of ARIA will, ironically, greatly increase accessibility.” — Dennis E. Lembrée https://ilo.im/zhqld

#webdevelopment #techniques
#accessibility #a11y #ARIA #markup #semanticHTML #HTML

Terry Wallwork
6 months ago

The Alt Text feature for pictures is cool. Haven't tried the scan picture for text detail feature yet but if that works that will be nice.

#alttext #markup #pictures

Joachim
7 months ago

Nouvelle #introduction / #introductionfr pour le Fediverse.

Je fais du #design et du #webdev (#markup #css) à #Paris. Je m'essaye au développement (#python, je collabore à @bookwyrm), je fais du #vélo surtout en #vélotaf, j'aime la #photo #argentique (#filmphotography) même si je ne pratique plus autant qu'avant.

Je parle souvent de #climat, parfois de #politique (#frpol). Ma chatte Pourriel est la plus belle du monde.

(#velo et #velotaf pour que le motdièze marche sans l'accent)

Photo d’une chatte très mignonne. Elle est blanche et grise avec les yeux bleus.