João Medrado

Results 5 comments of João Medrado

Quick fix for people on Doom Emacs, add to your config.el: ```lisp ;; Overwrite existing scss-stylelint checker to not use --syntax (flycheck-define-checker scss-stylelint "A SCSS syntax and style checker using...

@pointlessone yes, I saw it here https://www.rubydoc.info/gems/prawn-core/0.7.2/Prawn%2FText:text_box Perhaps documentation is wrong or it was supported in an older version and it isn't anymore? Thanks

@sherisoli as a workaround I ended up doing something like this: ``` def truncate string, coord_x, coord_y params = { size: 12, leading: 10, width: 500, height: 90, at: [coord_x,...

@gettalong sorry, I’m using that code as part of a Rails application: https://apidock.com/rails/ActionView/Helpers/TextHelper/truncate You may want to use that ActionView helper as a gem, or check its source code to...