end based argument continuation #388
Replies: 5 comments 7 replies
-
Currently, for caption, we use continuation syntax
What if we follow proposed syntax and write something like
|
Beta Was this translation helpful? Give feedback.
-
For this
Now, we need to do this
With indentation, this looks fine, but without it, this looks horrible. |
Beta Was this translation helpful? Give feedback.
-
We can use anonymous list also without
|
Beta Was this translation helpful? Give feedback.
-
If we have to use "continuation" during component definition, eg:
How would we do it?
? |
Beta Was this translation helpful? Give feedback.
-
Two open points as of now:
|
Beta Was this translation helpful? Give feedback.
-
Status: In Progress
Owner: @Arpita-Jaiswal Started On: 1st SeptemberTODO
Available styles
Common
Container
Daily Update
27th October
26th October
21st October
11th October
10th October
9th October
8th October
7th October
6th October
5th October
ftd.row
in executor4th October
3rd October
2nd October
29th September
28th September
26th September
25th September
24th September
23rd September
22nd September
21st September
15th September
12th September
11th September
Read About
10th September
9th September
8th September
7th September
6th September
3rd September
2nd September
1st September
Related Discussions
Say if I have to write something like this:
Currently there can be no empty lines. What if we can also write:
Notice the blank lines added. They improve readability. They make our body parser difficult by assuming body can not start with a line containing
:
.If we do indeed have more intelligent body parser, can we not do:
How do we handle the code block?
One option is we mix multiline headers with self closing tags:
The body is too far now. Also header fields are not namespaces, so it is not obvious if they are parameters or not. Plus it is forcing us to close the
ft.code
, which is a self closing component.Maybe we can do this:
-- this.body
would be only needed if any-- this.<argument-name>:
(argument continuation) has been used.Instead of introducing
this
, we can also do:Beta Was this translation helpful? Give feedback.
All reactions