Dear all,
I’ve just tried to run the many examples for a global find-and-replace here in this forum but struggled with two things:
- How do I run these
rake posts: ...
commands? When I type the command at the command line I just end up with a new line showing a>
. I’ve never done anything with Ruby so far. - How can I replace the string “[code]” with “```” followed by a newline?
- Can I search also for a newline so that only replace “[code]” that follows a newline?
Sorry for all these noob questions but I’m new to Discourse and in the midde of a large website relaunch
Eric