Comments (3)
Nope. scdoc is not Markdown, and .scd is used by all scdoc files.
from swayidle.
It seems like there's no mention of a specific file extension for scdoc files. The man page doesn't define one.
Case study: JSON schemas. Just because a JSON document has a particular schema doesn't mean the file needs a different suffix than .json. It's still JSON, just understood by the recipient as a specific kind of file. It's encoded as JSON.
If we look at the notation, it's clearly a subset of Markdown and works well with platforms like GitHub. And ironically, sourcehut, where the project upstream is hosted, does not recognize it as Markdown simply because it uses the file ending .scd to determine the render.
Let's not get caught up in strawman arguments or give importance to the made-up file extension ".scd" that is not even promoted by the upstream maintainers of this niche tool.
from swayidle.
If we look at the notation, it's clearly a subset of Markdown and works well with platforms like GitHub.
If we read scdoc's format documentation - scdoc.5.scd - it can be seen that the format is not Markdown compatible. Take a look at the table syntax for example, which has nothing to do with Markdown tables but instead is specialized for replacing troff(1)
in manpage generation. Granted, there are similarities to Markdown, but it is not Markdown.
And ironically, sourcehut, where the project upstream is hosted, does not recognize it as Markdown simply because it uses the file ending .scd to determine the render.
It also does not recognize it as troff, xml or JavaScript because it uses the file extension ".scd". Not being recognized as a wrong format is intentional1.
Let's not get caught up in strawman arguments or give importance to the made-up file extension ".scd" that is not even promoted by the upstream maintainers of this niche tool.
Let's not get caught up in ignorance and false equivalence arguments. We are not going to use an incorrect file extension to communicate a wrong file format in order to trigger defective syntax highlighting in editors without support for the syntax. The file-ending for scdoc's own scdoc documentation is .scd
, and all known external uses of scdoc use .scd
2.
Footnotes
-
You do realize that sourcehut is run by the scdoc author and original creator of sway, right? ↩
-
You can look at the 265 AUR packages that have a build dependency on scdoc as a start. ↩
from swayidle.
Related Issues (20)
- Swayidle stops working at random with external monitor HOT 7
- Catch the first touch event to prevent blind clicks on a blanked touchscreen. HOT 2
- Only the first timeout is triggered when suspending HOT 3
- No inhibit when moving mouse over empty desktop HOT 4
- swayidle crashes screenlockers after suspend HOT 2
- A way to print current idle time HOT 6
- `‐` in the man page is not equal to `-` used in CLI args HOT 8
- loop timeout events HOT 2
- swayidle randomly activating HOT 1
- sending USR1 to swayidle twice results in swaylock running twice? HOT 4
- Implement mutter's IdleMonitor dbus API HOT 1
- before-sleep doesn't work rtcwake HOT 1
- Please add support for reloadng the configuration file
- An idle that ignores inhibit_idle and only cares about keyboard/mouse input HOT 1
- [Help] Using with swaylock, different timeout when swaylock is activated HOT 4
- [Issue] Resume does not turn on screen again, unless the session (swaylock) is unlocked HOT 3
- suspend / dpms via swayidle causing high CPU usage / instability in firefox? HOT 12
- swayidle enters idle state during YouTube/Plex playback in browser HOT 3
- How to run root level daemons with swayidle? 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 swayidle.