Avatar
Kishikawa Katsumi 10/11/2020 7:27 PM
#if(version == stableVersion): <option value="#(version)" selected>#(version)</option> #else: <option value="#(version)">#(version)</option> #endif Ifもこんな感じっぽい。 https://forums.swift.org/t/pitch-new-leaf-body-syntax/18188
Pitch: New Leaf Body Syntax Leaf is a templating language built for Swift. This pitch proposes introducing a new syntax for declaring tag bodies that would simplify the parser and make using Leaf easier. Current Syntax Leaf has supported the following syntax for declaring tag...