I have a question. I am trying to make sense of how Jessie signed the hierarchy of the code to execute in TaskPaper. What I mean is, if I try putting levels as definitions of text, then the tags definition when applied to what is already defined in the levels version is not changed.
I would like to have it both ways if I could. I would like to assign text values in levels for say, notes, and then allow tags with special font styling to affect any line that contains that tag. In essence I want the tags styling to override the level style.
For Example:
item[data-type=note][depth=1]{
color: mix(black,blue, 40%);
font-family: Trebuchet MS;
line-height-multiple: 1.2;
font-size: 20;
paragraph-spacing-after: 3;
font-style: regular;
}
item[data-type=note][depth=2]{
color: mix(black,blue, 40%);
font-family: Trebuchet MS;
line-height-multiple: 1.2;
font-size: 20;
paragraph-spacing-after: 3;
font-style: regular;
}
item[data-type=note][depth=3]{
color: mix(black,blue, 40%);
font-family: Trebuchet MS;
line-height-multiple: 1.2;
font-size: 18;
paragraph-spacing-after: 3;
font-style: regular;
}
Is not affected by using this tag on any of the already defined levels of notes:
// Changes the text preceding the tag: "@focus"
item[data-focus] {
font-family: Trebuchet MS;
font-size: 23;
color: mix(black,green, 10%);
paragraph-spacing-before: 10;
paragraph-spacing-after: 0;
}
Whereas, if there was no level set, it would affect it. There seems to be no way to set up the levels and then add a tag for focus.
Also, if the code is incorrect in a named stylesheet, does TaskPaper default to the base-stylesheet?
Thanks.