Implement many more nodes
All checks were successful
CI Pipeline / build (pull_request) Successful in 12s

Adds these new styling and formatting nodes
* strike
* highlight
* linebreaks
* pagebreaks
* Hyperlinks
This commit is contained in:
2025-12-02 14:43:53 +01:00
parent 243b06d8f8
commit 597bc91c40
19 changed files with 788 additions and 24 deletions

18
lib/notare/nodes/break.rb Normal file
View File

@@ -0,0 +1,18 @@
# frozen_string_literal: true
module Notare
module Nodes
class Break < Base
attr_reader :type
def initialize(type: :line)
super()
@type = type
end
def page?
type == :page
end
end
end
end