Is there a way to strikethrough a whole row in Markdown tables? - uitableview

I'm trying to implement a table in Markdown for tracking purposes. I know two tildes between texts like ~~this~~ will make it strikethrough text, but I was wondering if there's a possibility to strikethrough the whole table row like the screenshot shown below? Adding two tildes in all the cells of the table doesn't do the work for me as well.
I tried Googling to no avail. I tried putting two tildes outside the whole table row and it wasn't working as well.

The table cells are each parsed individually. The only way to apply markup to all cells in a row is to do so manually:
| col a | col b |
|-------|-------|
| ~~nope~~ | ~~nu-uh~~ |
You could use CSS, e.g. the nth-child construct to do this, but it won't work on sites like GitHub that do not allow custom CSS.

Related

Google Sheets: Conditional Formatting in Cell based on TEXT in another Cell, Not Number Value

How do I create a conditional formatting rule in Google Sheets that changes the colour of a cell based on the text in another cell?
I want to create a rule whereby if I type "tested" in ANY cell, the two following cells in the row change colour automatically to show the testing window.
The sheet is very large so I need to also know how to make this rule apply to all cells, without all formatting relating to the text in just one cell - it always needs to be the cell with the text relating to the following two cells in the row.
Thanks in advance!
I've tried to use the basic conditional formatting, and tried googling, but all answers are based on a number value and don't apply when I try to use the same custom formula.
try:
=A1="tested"
and 2 rules. one for B1:Z and 2nd for C1:Z

How do I add empty spaces in FormLayout in Vaadin Flow?

For example if I have form with 2 columns and 2 rows but want to keep the 2nd column in the first 1st empty how do I do this without adding an empty value (empty Span).
-----------------
| field | empty |
-----------------
| field | field |
-----------------
Right now I'm doing:
formLayout.add(new TextField("First row and first column"));
formLayout.add(new Span());
formLayout.add(...);
.. and so on.
I could just do formLayout.add(textField, new Span(), textField, ...) but in either case my question is how can I have the FormLayout skip a cell in the first row after the initial TextField?
FormLayout is not purposed to be rigid grid. You can add empty components, or Br component to break a row, which will work better than empty Span.
You can also adjust col-span of FormItem to span it wider than a column. But FormLayout is also responsive, so if you make Browser narrower, it will reflow the fields. Empty components would make it look odd as there are not likely to be place as you want.
You can also set responsive steps to control whether four, three, two, .. columns are shown on different Browser widths:
formLayout.setResponsiveSteps(
new ResponsiveStep("25em", 1),
new ResponsiveStep("32em", 2),
new ResponsiveStep("40em", 3));
In theory you can adjust the responsive steps so that layout is more rigid.
I would assume that a Div component where you set css-grid styles according to what you want to achieve may server you better than FormLayout in this case.

AND doesn't work in Conditional Formatting/ Custom Formula

I am working on a Custom Formula using Google Sheet's conditional formatting feature. When 2 things are TRUE, I want to change background and font color somehow.
I use the following statement to determine it =AND(F5:F10>30% ,$B$1 =True)
This works well and is tested independently, row by row.
Yet, when applied to the table only some columns are highlighted, not all
Below is a formula I am using
try like this:
=($F5>30%)*($B$1=TRUE)

Conditional formatting Google sheets, if formula not used

I am trying to highlight cells which have been manually entered by using the formulatext() function. However, at the moment this is highlighting all the cells that have a different outcome (from if statements) to the first cell. Can this be changed?
(If curious my exact formula at the moment is =formulatext(E4)<>if(B4= "","",if(left(CN4,1)<>"-",if(or(D4="A",D4="B"),if(AF4<>"","DONE",CN4),if(AF4<>"","DONE",CN4)),if(or(D4="A",D4="B"),if(AF4<>"","DONE","over 48h"),if(AF4<>"","DONE","over 36h")))), the formula inside is working so no need to change it)
https://docs.google.com/spreadsheets/d/1kOJf07eoe_8tYR9a2h1iv2OIBt77xprHiGER3InGg-g/edit?usp=sharing
I hope that link works.

Need a simple one-liner to highlight an entire row based on if that row contains 'text' (case insensitive)

Tons of examples online, and they're close, but none are concisely a solution to the problem.
I would like a simple one-liner to use in the Conditional Format sidebar that highlights a row if it contains 'text' in any of the row cells.
=IF(ARRAYFORMULA(IF(IFERROR(REGEXEXTRACT(REGEXREPLACE(TRIM(TRANSPOSE(QUERY(
TRANSPOSE(A1:Z),,999^99))),"text","♠"), "♠"))="♠",1,))=1,1)

Resources