Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Nov 28, 2022
1 parent b12c3ca commit a7d6d26
Show file tree
Hide file tree
Showing 18 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion grammars/basicdoc.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ keyword = element keyword { PureTextElement* }
sub = element sub { PureTextElement* }
sup = element sup { PureTextElement* }
strike = element strike { PureTextElement* }
underline = element underline { PureTextElement* }
underline = element underline {
attribute style { text }?,
PureTextElement*
}
smallcap = element smallcap { PureTextElement* }

ruby = element ruby { ( PureTextElement | rp | rt )* }
Expand Down
3 changes: 3 additions & 0 deletions grammars/basicdoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,9 @@
</define>
<define name="underline">
<element name="underline">
<optional>
<attribute name="style"/>
</optional>
<zeroOrMore>
<ref name="PureTextElement"/>
</zeroOrMore>
Expand Down
Binary file modified images/AncillaryBlocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/BibData.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Changes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/ContribMetadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/DataTypes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/EmptyElements.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/IdElements.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Lists.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/MultiParagraphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Paragraphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/ReferenceElements.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Sections.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tables.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/TextElements.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions models/textelements/UnderlineElement.lutaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ class UnderlineElement {
definition {
Underlined text. Corresponds to HTML 4 `u`.
}
+style: String[0..1] {
definition {
CSS style to apply to underline (intended for text-decoration-style attribute keyword values: solid double dotted dashed wavy)
}
}
}


0 comments on commit a7d6d26

Please sign in to comment.