-
Notifications
You must be signed in to change notification settings - Fork 56
Support tabs and CRLF line endings #29
Comments
+1
|
+1 |
To fix this issues a moderate modification to https://github.com/apiaryio/sundown is needed. Consider using Hoedown contributing to hoedown/hoedown#22 and hoedown/hoedown#28 instead |
Can we make a hack for this by expanding all |
This won't not help as then you would need to recalculate the source maps (in order to display any possible warning / errors). Doing so (recalculating) is the core problem here and solving it would bring the solution for this issue (and thus it wouldn't be a hack) |
+1 for tabs! Any ETA on this? |
@ze-phyr-us so far there wasn't too much of push on this one (read no concrete plans yet). Introducing this will most likely mean migration to Hoedown or CommonMark parser. |
Pinging for update @zdne |
Hey @Stephn-R, |
So lets rise this baby back from the dead 💀 ⚡ |
So what's a workaround? I have codeblocks with tabs to show examples... will the codeblocks have to be converted to spaces I guess? |
@jacquesfu I'm just piping my blueprints through Edit: GH screws up the formatting, but obviously that was |
Hey guys, may I just ask you where you need the tabs? Is it the mock server or testing? I presume it is really about the content of payloads and not necessarily the blueprint itself, correct? |
Alright so the way I was able to resolve this was if I targeted the affected files and ran a python method for stripping out carriage returns >> |
@zdne Coding standards. When the entire project uses tabs rather than spaces, I want my documentation consistent with that. |
Agreed but this discussion is about the way line endings are formed by your IDE/System |
This is not big problem, but quite annoying. |
I just hit this issue because Windows. 😖 It's obviously possible to route around, but it's an unfortunate complication when trying to use API Blueprint docs with dredd, etc. Remove pain. Win hearts and minds. 😄 👍 to fixing this soon. |
I hope CRLF gets supported or converted when necessary |
+1!!! |
This is an important pre-requisite for apiaryio/dredd#204. |
+1 |
It was annoying, but not blocking issue. |
Migrated to apiaryio/drafter#652 |
No description provided.
The text was updated successfully, but these errors were encountered: