Comments (7)
Could you send me a screenshot of the menu it doesn't appear in? It does support setting it as the default app for opening .md files.
from beautyxt.
The files app opens the .md file automatically with the app, but when I try to open a file from whatsapp it doesn't works
from beautyxt.
Its likely a WhatsApp issue. You can try installing this app https://github.com/MuntashirAkon/AppManager/releases/download/v3.1.6/AppManager_v3.1.6.apk and opening the file with it and sending a screenshot of the result to see what WhatsApp is putting in the intent.
from beautyxt.
URI intent://com.whatsapp.provider.media/item/89b4e0a9-e8d4-4ecf-841c-51ae0c63aafc#Intent;scheme=content;type=application/octet-stream;launchFlags=0x3000001;end
VERSION 1
ACTION android.intent.action.VIEW
DATA content://com.whatsapp.provider.media/item/89b4e0a9-e8d4-4ecf-841c-51ae0c63aafc
TYPE application/octet-stream
FLAGS 0x3000001
MATCHING ACTIVITIES 12
0 LABEL Billetera de Google
NAME com.google.android.gms.pay.deeplink.AliasSavePkPassActivity
PACKAGE com.google.android.gms
1 LABEL AnkiDroid
NAME com.ichi2.anki.IntentHandler
PACKAGE com.ichi2.anki
2 LABEL Reddit
NAME com.reddit.vault.feature.cloudbackup.restore.RedditVaultFileActivity
PACKAGE com.reddit.frontpage
3 LABEL Rutas
NAME com.samsung.android.app.shealth.tracker.sport.route.view.TrackerSportRouteCardListActivity
PACKAGE com.sec.android.app.shealth
4 LABEL Escáner
NAME io.github.muntashirakon.AppManager.scanner.ScannerActivity
PACKAGE io.github.muntashirakon.AppManager
5 LABEL Explorar
NAME io.github.muntashirakon.AppManager.apk.explorer.AppExplorerActivity
PACKAGE io.github.muntashirakon.AppManager
6 LABEL Información de la aplicación
NAME io.github.muntashirakon.AppManager.details.AppInfoActivity
PACKAGE io.github.muntashirakon.AppManager
7 LABEL Visor de manifiestos
NAME io.github.muntashirakon.AppManager.details.manifest.ManifestViewerActivity
PACKAGE io.github.muntashirakon.AppManager
8 LABEL Instalar
NAME io.github.muntashirakon.AppManager.apk.installer.PackageInstallerActivity
PACKAGE io.github.muntashirakon.AppManager
9 LABEL Interceptador
NAME io.github.muntashirakon.AppManager.intercept.ActivityInterceptor
PACKAGE io.github.muntashirakon.AppManager
10 LABEL Keepass2Android
NAME crc64dd09b2a2e58bb27d.SelectCurrentDbActivity
PACKAGE keepass2android.keepass2android
11 LABEL Daylio
NAME net.daylio.activities.BackupAdvancedActivity
PACKAGE net.daylio
from beautyxt.
As you can see, WhatsApp is setting the type as application/octet-stream
in the intent. The correct type for Markdown is text/markdown
.
from beautyxt.
application/octet-stream
is the MIME type for arbitrary binary data.
"Generic binary data (or binary data whose true type is unknown) is application/octet-stream."
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
from beautyxt.
Thank you!
from beautyxt.
Related Issues (20)
- Typst doesn't show math HOT 2
- Save Typst project exports as project folder name instead of main
- Use isolatedProcess service for calling bindings to Rust HOT 1
- Use an isolatedProcess service for calling Rust functions from FileViewModel HOT 1
- Use an isolatedProcess service for calling Rust functions from TypstProjectViewModel HOT 4
- Add rich text option HOT 3
- Crash upon file opening on Android 10 with BeauTyXT 0.19.1 HOT 12
- Disallow memory W^X for the Rust libraries HOT 1
- Cutoff in license screen HOT 2
- The app keeps crashing HOT 19
- crash when i edit typst HOT 1
- App crashes on opening large .txt file HOT 4
- Chinese fonts cannot be displayed in typst HOT 6
- App crashes upon opening a Typst project folder HOT 21
- Clarify build instructions in the readme HOT 3
- Backspace to delete letters is misbehaving HOT 4
- Insufficient contrast for links in the Markdown preview in dark mode HOT 3
- Add syntax highlighting
- update minskd version to 27 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beautyxt.