Answers: <p>A word document is not a source document that is fit for version control, it's a proprietary binary file.</p>
  
  <p>For version control, try to learn a real source document like e.g. Markdown or AsciiDoc. In this way you'll be able to preview in Gitlab or Github, even with Windows.</p>
  
  <p>While still being able to publish it after rendering it with e.g. Pandoc to a .docx or .pdf, .html, RTF, ODT, EPUB or all of them with an optional version tag.</p>
  
Answers: CC BY-SA 4.0
Answers: 2018-09-15T10:05:06.187Z
Answers: 2018-09-15T17:37:13.433Z
Answers: 2018-09-15T17:37:13.433Z
Answers: Danny Goossen
Answers: <p>DOCX actually is zip-archive which contains xml. Xml is text format which should be fine viewed and tracked by Gitlab and other version control systems. Unfortunately, now this feature is unavailable. But exists alternative path - use third-side utility Pandoc. </p>
  
  <p>I found information about Pandoc at this link:
  <a href="https://github.com/vigente/gerardus/wiki/Integrate-git-diffs-with-word-docx-files" rel="nofollow noreferrer">https://github.com/vigente/gerardus/wiki/Integrate-git-diffs-with-word-docx-files</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2020-04-19T18:00:46.813Z
Answers: 2020-04-19T18:00:46.813Z
Answers: hwak
Answers: <p>You can only view text/source code files, Markdown files and images.  Gitlab doesn't have a preview option for other files such as proprietary word processors.</p>
  
Answers: CC BY-SA 3.0
Answers: 2017-08-04T18:29:54.493Z
Answers: 2017-08-05T06:21:19.747Z
Answers: 2017-08-05T06:21:19.747Z
Answers: Jeeva
Body: <p>I'm uploading docx file in Gitlab, however it doesn't preview it. </p>
  
  <p>It only downloads it.</p>
  
  <p>Is it fixable?</p>
  
Comments: CC BY-SA 3.0
Comments: 2017-08-05T01:09:20.650Z
Comments: Gitlab is an open source project so you're not stuck with what they've done. 
   You can make a patch yourself and try to get it added. https://github.com/gitlabhq/gitlabhq/blob/master/CONTRIBUTING.md
Comments: chicks
Tags: <gitlab>
Title: Gitlab doesn't open Word files
UserDisplayName: Tarlan Mammadzada
ThreadText: # Gitlab doesn't open Word files
  
  (Asked by: username_0 on 2017-08-04)
  
  I'm uploading docx file in Gitlab, however it doesn't preview it.
  
  It only downloads it.
  
  Is it fixable?
  
  **Tags:** gitlab
  
  > **Comments:**
  > **username_1**: Gitlab is an open source project so you're not stuck with what they've done.   You can make a patch yourself and try to get it added. https://github.com/gitlabhq/gitlabhq/blob/master/CONTRIBUTING.md  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_4 on 2017-08-04. Score: 13 | Accepted answer
  
  You can only view text/source code files, Markdown files and images. Gitlab doesn't have a preview option for other files such as proprietary word processors.
  
  
  ---
  
  ### Answer by username_2 on 2018-09-15. Score: 4
  
  A word document is not a source document that is fit for version control, it's a proprietary binary file.
  
  For version control, try to learn a real source document like e.g. Markdown or AsciiDoc. In this way you'll be able to preview in Gitlab or Github, even with Windows.
  
  While still being able to publish it after rendering it with e.g. Pandoc to a .docx or .pdf, .html, RTF, ODT, EPUB or all of them with an optional version tag.
  
  
  ---
  
  ### Answer by username_3 on 2020-04-19. Score: 0
  
  DOCX actually is zip-archive which contains xml. Xml is text format which should be fine viewed and tracked by Gitlab and other version control systems. Unfortunately, now this feature is unavailable. But exists alternative path - use third-side utility Pandoc.
  
  I found information about Pandoc at this link:
  <https://github.com/vigente/gerardus/wiki/Integrate-git-diffs-with-word-docx-files>
  
  
  ---
  
  