-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fileformat CSV to view/export as a html table #1980
Comments
Related : discussion #1667 |
You can open csv with Markor generally as it is currently. So what this is about is to add a own view-mode/text-converter implementation specific to CSV. |
this is what i try to implement in the first step. for syntax highlighting i can imagine the all values of colum get the same rotating color. Values and header of Column1 is blue, column2 is red, column3 is green, ..... but i donot know if this is possible with the current architecture |
From my point of view: Implementation completed. Waiting for merge. Follow up ticket #1987 for CsvSyntaxHighlighter |
Description
CSV Files are plain-text files that are used to import and export tabular data from other apps. Many spreadsheet applications like MS-Excel or Libre-Office-Calc can read and write csv.
It would be great if Markor can preview/export csv files as html-tables.
Implementation details:
on android csv files can use these mimeTypes
text/csv
see https://www.rfc-editor.org/rfc/rfc7111text/comma-separated-values
non standard but used by android filemanagerThere is a java lib that can read and write csv at https://opencsv.sourceforge.net/ (License Apache 2)
Gradle dependency
implementation 'com.opencsv:opencsv:5.7.1'
I have successfully used the lib in SecUSo/privacy-friendly-finance-manager#52
Information
Android version: 10
Device: lg
App Version: (F-Droid) 2.10.7
Source
F-Droid
Format / File type
Something else (-> Additional info)
Additional info / Log
The text was updated successfully, but these errors were encountered: