> On Dec 28, 2016, at 6:06 AM, Michael Rossi <dionysius.ro...@gmail.com> wrote: > > couldn't you simply add all three code layout options and then add a > commandline switch in scribble when generating html? I.e. by default, do > nothing with the code. Otherwise, add switches to either wrap the code or > else put it in those nasty horizontally scrolling boxes?
You can override / extend Scribble's default styles with your own. [1] If you come up with a sane mobile style, propose it as an issue or PR at `racket/scribble`. My views on the matter are known [2] but I wouldn't be a sasquatch about it. (FWIW I think horizontally-scrolling code boxes are the second-least-bad option) The problem with baking styling options into the public command-line interface is that they need to be supported indefinitely. Meanwhile, the vogue for mobile formatting is only going to last as long as mobile web advertising is still making money, which is to say, not very long. See also [3], wherein the machine is raged against. [1] https://docs.racket-lang.org/scribble/config.html <https://docs.racket-lang.org/scribble/config.html> [2] https://github.com/racket/scribble/pull/62#issuecomment-257732714 <https://github.com/racket/scribble/pull/62#issuecomment-257732714> [3] https://github.com/racket/racket/pull/1527 <https://github.com/racket/racket/pull/1527> > On Dec 28, 2016, at 2:11 AM, Dupéron Georges <jahvascriptman...@gmail.com> > wrote: > > https://github.com/racket/scribble/blob/master/scribble-lib/scribble/html-render.rkt#L868 > > This is where the meta content-type is injected, I suppose adding the meta > viewport there would make sense? Ah oui, merci. I will make «le pull-request» for that. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.