Re: How do you edit markup? e.g. html?
Tim here. I too am a dyed-in-the-wool vi/vim user and use it to edit my markup files. I work predominantly in pure HTML but also use vi/vim for XML/DocBook, Markdown, LaTeX, or other markup if it comes to that. If you don't already use them, Vim does offer some handy text-objects to make it easier to work with HTML/XML. The "it", "at", "i<", and "a<" that makes quick work of working with tags. If you don't use text-objects, they're one of Vim's killer features. Even more-so when it comes to HTML/XML markup. If I'm typing a particular construct frequently, I'll create an abbreviation to simplify because I'm lazy. Also, Tim Pope's Vim Surround (https://github.com/tpope/vim-surround) plugin helps make it easy to wrap text in tags or other characters. I'm also partial to the "tidy" program (`apt-get install tidy` on my Debian box) which does some tidying, correction, and checking of source HTML & XML. It's good for catching the little things that I miss. I employ a fairly broad spectrum of browsers to preview my code. I like lynx and its CLI kin for their sheer speed; I like Firefox or Chromium to preview what most of the world would encounter. Additionally, as a process thing, for inline tags, I like to put them on their own line. It's my personal oddity, but I find that it simplifies reading back the HTML source. Here's hoping there are tips in there that improve your workflow, -tim On February 19, 2018, Linux for blind general discussion wrote: > Hi All: > > Just wondering how people manage editing markup files, html, xml, > even markdown. > > What tools and approaches have you found most useful as a screen > reader user? > > My personal approach is less than optimal, which is how this > question came forward at this time. I'm personally a died in the > wool vim user, but it can be difficult to understand and properly > edit content in the midst of markup tags, even in a markdown > environment. Perhaps there are vim tricks I could be better at? > I'm aware that emacspeak actually offers some advantages here--but > is that the current best practice? > > Thanks in advance for sharing your approach. > > Janina > > -- > > Janina Sajka > > Linux Foundation Fellow > Executive Chair, Accessibility Workgroup: http://a11y.org > > The World Wide Web Consortium (W3C), Web Accessibility Initiative > (WAI) Chair, Accessible Platform Architectures > http://www.w3.org/wai/apa > > ___ > Blinux-list mailing list > Blinux-list@redhat.com > https://www.redhat.com/mailman/listinfo/blinux-list ___ Blinux-list mailing list Blinux-list@redhat.com https://www.redhat.com/mailman/listinfo/blinux-list
Re: How do you edit markup? e.g. html?
I review with lynx, and edit with vi. But then, my web projects are not that ambitious. Also, I tend to set up a template and edit only the main content of the page. Rudy On Mon, Feb 19, 2018 at 12:04:30PM -0500, Linux for blind general discussion wrote: > Hi All: > > Just wondering how people manage editing markup files, html, xml, even > markdown. > > What tools and approaches have you found most useful as a screen reader > user? > > My personal approach is less than optimal, which is how this question > came forward at this time. I'm personally a died in the wool vim user, > but it can be difficult to understand and properly edit content in the > midst of markup tags, even in a markdown environment. Perhaps there are > vim tricks I could be better at? I'm aware that emacspeak actually > offers some advantages here--but is that the current best practice? > > Thanks in advance for sharing your approach. > > Janina > > -- > > Janina Sajka > > Linux Foundation Fellow > Executive Chair, Accessibility Workgroup: http://a11y.org > > The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI) > Chair, Accessible Platform Architectures http://www.w3.org/wai/apa > > ___ > Blinux-list mailing list > Blinux-list@redhat.com > https://www.redhat.com/mailman/listinfo/blinux-list -- Rudy Vener Website: http://www.rudyvener.com ___ Blinux-list mailing list Blinux-list@redhat.com https://www.redhat.com/mailman/listinfo/blinux-list
Re: How do you edit markup? e.g. html?
I use nano for all my editing of text files, but that can be quite annoying for source code and mark-up language as well, especially since my text-mode screen reader doesn't read whitespace and syntax highlighting doesn't translate to a audio environment. -- Sincerely, Jeffery Wright Bachelor of Computer Science President Emeritus, Nu Nu Chapter, Phi Theta Kappa. ___ Blinux-list mailing list Blinux-list@redhat.com https://www.redhat.com/mailman/listinfo/blinux-list
How do you edit markup? e.g. html?
Hi All: Just wondering how people manage editing markup files, html, xml, even markdown. What tools and approaches have you found most useful as a screen reader user? My personal approach is less than optimal, which is how this question came forward at this time. I'm personally a died in the wool vim user, but it can be difficult to understand and properly edit content in the midst of markup tags, even in a markdown environment. Perhaps there are vim tricks I could be better at? I'm aware that emacspeak actually offers some advantages here--but is that the current best practice? Thanks in advance for sharing your approach. Janina -- Janina Sajka Linux Foundation Fellow Executive Chair, Accessibility Workgroup: http://a11y.org The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI) Chair, Accessible Platform Architectureshttp://www.w3.org/wai/apa ___ Blinux-list mailing list Blinux-list@redhat.com https://www.redhat.com/mailman/listinfo/blinux-list