#427 Use monospaced font for editing Markdown
Closed: Fixed None Opened 8 years ago by mizdebsk.

Text areas used for editing Markdown code (and other kinds of source code) should use monospaced font. Or at least this should be customizable in user settings.

For me personally it's pretty annoying to display or write any kind of source code using non-monospaced font. Annoying enough to justify writing a Greasemonkey script as a workaround until (and if) this is fixed:

// ==UserScript==
// @name        Pagure monospaced font
// @namespace   mizdebsk
// @include     https://pagure.io/*
// @version     1
// @require     http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
// @grant       none
// ==/UserScript==

$("#issue_content, #comment").css({"font-family": "monospace", "font-size": "120%"})

Thanks for the fix, I'll test it and apply it

So looking at it, it seems that your changes are in fact not impacting the online-editing but rather commenting on issues/pull-requests, would that be correct?

I think I managed to fix both

So looking at it, it seems that your changes are in fact not impacting the online-editing but rather commenting on issues/pull-requests, would that be correct?

Oh, I didn't know that online editing of files in the repository was possible. Nice!

I think I managed to fix both

Perfect, thank you!

Merged, thanks for your ticket!

Login to comment on this ticket.

Metadata