From: umbraticus@prosimetrum.com
To: 9front@9front.org
Subject: Re: [9front] htmlfmt anchor corner cases
Date: Tue, 26 Jan 2021 07:42:25 +1300 [thread overview]
Message-ID: <BADBB302C976775730F92D2FB6E81360@prosimetrum.com> (raw)
In-Reply-To: <702591C9A529591D31144015531DC91F@eigenstate.org>
> Not sure how I feel about trying to go too
> markdown in the formatting, but that's an easy thing
> to play with.
Yeah, have now replaced:
if(txt->fnt % NumSize == Verylarge){
spew(L"# "); spew(txt->s); spew(L" #");
}else if(txt->fnt % NumSize == Large){
spew(L"## "); spew(txt->s); spew(L" ##");
}else if(txt->ul == ULmid){
spew(L"~~"); spew(txt->s); spew(L"~~");
}else if(txt->fnt / NumSize == FntI){
spew(L"*"); spew(txt->s); spew(L"*");
}else if(txt->fnt / NumSize == FntB){
spew(L"**"); spew(txt->s); spew(L"**");
with:
if(txt->ul == ULmid){
spew(L"~"); spew(txt->s); spew(L"~");
}else if(txt->fnt / NumSize != FntR){
spew(L"*"); spew(txt->s); spew(L"*");
in my html.c and it feels a lot less cluttered.
Definitely prefer link¹ to [link][1].
umbraticus
next prev parent reply other threads:[~2021-01-25 19:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-20 9:29 umbraticus
2020-12-20 22:03 ` cinap_lenrek
2020-12-30 3:47 ` umbraticus
2020-12-31 9:42 ` umbraticus
2021-01-01 4:42 ` umbraticus
2021-01-01 10:05 ` Steve Simon
2021-01-01 19:26 ` ori
2021-01-20 2:20 ` ori
2021-01-20 2:49 ` Alex Musolino
2021-01-20 3:17 ` umbraticus
2021-01-24 5:46 ` umbraticus
2021-01-24 23:51 ` ori
2021-01-25 18:42 ` umbraticus [this message]
2021-01-27 2:42 ` ori
2021-08-28 20:22 ` Stuart Morrow
2021-08-29 1:52 ` umbraticus
2021-08-29 2:08 ` ori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BADBB302C976775730F92D2FB6E81360@prosimetrum.com \
--to=umbraticus@prosimetrum.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).