Skip to main content

Preview ignores writing direction setting

Completed

Comments

3 comments

  • Damon Permezel

    Writing direction needs to be a per-file attribute, not a global attribute.

     

    0
  • Fletcher Penney

    Correct me if I am wrong, but plain text files don't have a way to store writing direction.  To do that, you would need to use a more complex file format (e.g. RTF, OpenOffice, Word, etc.) which is outside the scope of nvUltra.

    As for the preview, if you want the HTML to include a change to writing direction, you'll need to include the appropriate HTML/CSS in your file.

    0
  • Damon Permezel

    Plain text files are quite adequate for including all sorts of formatting information.  What is mark-down?  It is a method of encoding (limited) formatting information in plain text files.  Look at all the things which nvUltra supports currently.

    nvUltra is responsible for rendering the plain-text file in a manner which is distinctly different from the plain-text rendering.  Preview is one such rendering.

    Making writing direction a global option is wrong.  It is clearly a per-file item, and thus should be encoded in the plain text file.  Having the rendering of the file in one instance obey the writing direction and in the other, ignore it, is wrong.  Asking me to write some custom HTML/CSS so that the preview renders it correctly is onerous and, lets see, putting some HTML/CSS in the file: isn't that an encoding of the writing direction in a plain text file?  You can't have it both ways.

    If nvUltra is going to offer a writing direction option, it should be done correctly.  If not, don't offer it.

     

    0

Please sign in to leave a comment.

Powered by Zendesk