ok, what exactly did you expect here?…
test
Leaflet::Blog.new.publish!writing some text here
this is some good text
Header 1
text below header 1 text below header 1 text below header 1 text below header 1 text below header 1 text below header 1
Header 2
For those out of the loop: I have a server which streams and saves all posts from the Bluesky firehose, and uses this data to run several feeds on Bluesky used by 1k+ people, plus generates daily post statistics, the directory of custom handles, and things like that.
Header 3
sadfasdfasdfasdf
Header 3 below line
asljhdflkasjdhfkajshdf
Header 2 below line
safkajshdfkjahsdkfjhasdf
def emit_message
message = @extensions.process_incoming_message(@message)
@message = nil
payload = message.data
case message.opcode
when OPCODES[:text] then
payload = Driver.encode(payload, Encoding::UTF_8)
payload = nil unless payload.valid_encoding?
when OPCODES[:binary]
payload = payload.bytes.to_a # <===
end
end@leaflet.pub I'm thinking it would be cool to be able to set both a light mode and a dark mode variant for your blog that would automatically be used depending on what the viewer has set in their browser/system 🤔 basically two separate themes