Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How To Do A Strikethrough

edited August 2016 in Help! with 2.0
I am using Harlowe and I would like to have some text with a strike through them, so it's crossed out. However, I can't seem to do it. I've already tried both of these things:
~~text~~
(text-style: "strikethrough")[text]

Am I doing something wrong?

Comments

  • I've found out somewhere else.
  • For curiosity's sake - what was your solution?
  • You can use the CSS text-decoration property to cause text to have a line through it.

    There are a number of different ways you can apply this CSS to selected text, two of them being:
    (css: "text-decoration: line-through")[This text should have a line through it.]
    
    (set: $strike to (css: "text-decoration: line-through"))
    $strike[This text should also have a line through it]
    
  • greyelf wrote: »
    You can use the CSS text-decoration property to cause text to have a line through it.

    There are a number of different ways you can apply this CSS to selected text, two of them being:
    (css: "text-decoration: line-through")[This text should have a line through it.]
    
    (set: $strike to (css: "text-decoration: line-through"))
    $strike[This text should also have a line through it]
    

    Cool.
  • For curiosity's sake - what was your solution?

    Sorry, I've forgotten where I found it, but somewhere on the forum there's some CSS what ya gotta copy and paste into the stylesheet. Then putting it in the wiggly lines will work.
Sign In or Register to comment.