from Kozaneba Development Diary 2021-09-02 2021-09-03Kozaneba Development Diary
I was happy to see a series of tweets about the Markdownization of administrative texts, which had about 300,000 impressions, and I was happy to see that some people tweeted about it, drawing me into action, which is the civic tech culture. this. you are the "nobody"! https://twitter.com/hal_sk/status/1433552759593189377?s=21
Auto Layout, if you think about it, the system doesn't save on position update, but on user operation, so you don't have to turn off auto save to do it.
release notes
Rebuild Kozaneba Development
Because it also served as a demonstration for users, it was used in a way that was contrary to its original purpose of "getting your head out of the clouds.
Required Functions
I use it and find it.
Scrapbox Link Expansion
Scrapbox Content Import
Selection textualization
I want to scroll the screen with a selection.
Manage selections without ReactN
Multilingualization of tutorials Paste from Regroup Additional user rendering methods
Arrow function Tablet Support Keichobot
Add yesterday's Arrows are a way to express clear relationships and make them unbreakable to Ba about arrow functions and organize
In other words, "If the dependency is a tree, it's fine" and "If it's circular, it's bad" are resolved as "We just need to make a bipartite graph".
I called it an arrow function, but even arrows need to "switch between double and single arrows" to begin with.
This week's summary
I made a backup without thinning it out to try it out, and it came out to about 7 megs.
js
kozaneba
.fetch_api(
"https://scrapbox.io/api/pages/nishio/2021-09-03Kozaneba%E9%96%8B%E7%99%BA%E6%97%A5%E8%A8%98/text"
)
.then((res) => res.text())
.then((text) => console.log(kozaneba.parse_scrapbox(text)));
nishio: put "hit the Scrapbox API" and "parse the given string with scrapbox-parser" on Kozaneba's API. But I haven't figured out what to do after this yet.
nishio: Is "
a[b]c[d]e" good because it would be 5 alternating rows of regular kozane and Scrapbox kozane?
nishio: I made the Scrapbox kozane about 3 times bigger than the regular kozane the other day, but if I keep this in mind, should I have kept the default size the same? Should I have kept the default size the same? No, but considering the way it looks on Scrapbox, the card is not inserted in the sentence, so I added it as a regular kozane and the card is at the end?
nishio: first Cloud Function, the design is clunky. It converts the Scrapbox URL to an API URL on the server side, so you can only hit a specific URL. Either rewrite it so it can hit anything...
nishio: If we create a mutual conversion between Scrapbox and Kozaneba, and then create a mutual conversion between Markdown Kozaneba, we could eventually create a mutual conversion between Scrapbox and Markdown interconversion could be made (typical desktop theory).
nishio: of course I'm not aiming to be a converter, so I'm willing to throw away code notation and tables
This page is auto-translated from /nishio/Kozaneba開発日記2021-09-03 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.