Skip to content
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

Slip in markdown #1532

Open
zeyneptokerr opened this issue Nov 9, 2021 · 4 comments
Open

Slip in markdown #1532

zeyneptokerr opened this issue Nov 9, 2021 · 4 comments

Comments

@zeyneptokerr
Copy link

zeyneptokerr commented Nov 9, 2021

First I write the python, golang, javascript codes in the right pane, then I write the explanations below. I'm told to do it this way in Markdown Syntax as well, but it still slips. Since I wrote the latest javascript code, there is no slippage in the javascript code. If I write the description under which programming language, there is no slippage in the description of that programming language. Where am I doing wrong?

Code:

# Auth Service

## Register

```shell
curl --location --request POST 'http://0.0.0.0:52000/Register' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Firstname": "Zeynep",
    "Surname": "vgdf",
    "Phone": "+5435t",
    "Mail": "zeynep@fdsgfgf.com",
    "Password": "fesvsdvfdg"
}
```
```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "http://0.0.0.0:52000/Register"
  method := "POST"

  payload := strings.NewReader(`{
    "Firstname": "Zeynep",
    "Surname": "vgdf",
    "Phone": "+5435t",
    "Mail": "zeynep@fdsgfgf.com",
    "Password": "fesvsdvfdg"
}

`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
```python
import requests
import json

url = "http://0.0.0.0:52000/Register"

payload = json.dumps({
  "Firstname": "Zeynep",
  "Surname": "vgdf",
  "Phone": "+5435t",
  "Mail": "zeynep@fdsgfgf.com",
  "Password": "fesvsdvfdg"
})
headers = {
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)
```
```javascript
var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");

var raw = JSON.stringify({
  "Firstname": "Zeynep",
  "Surname": "vgdf",
  "Phone": "+5435t",
  "Mail": "zeynep@fdsgfgf.com",
  "Password": "fesvsdvfdg"
});

var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  body: raw,
  redirect: 'follow'
};

fetch("http://0.0.0.0:52000/Register", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
```

### Request Information

|Category|Value|
|--------|-----|
|Http Request|POST|
|URL|http://0.0.0.0:52000/Register|

### Input Shema for Request

|Category|Value|
|--------|-----|
|"Firstname":|"Zeynep"|
|"Surname":|"vgdf"|
|"Phone":|"+5435t"|
|"Mail":|"zeynep@fdsgfgf.com"|
|"Password":|"fesvsdvfdg"|

Ekran Resmi 2021-11-09 15 40 35

Ekran Resmi 2021-11-09 15 40 50

Ekran Resmi 2021-11-09 15 42 10

  • OS: [iOS]
  • Browser [chrome]
  • Version [93.0.4577.63 ]
@MasterOdin
Copy link
Member

What version of slate are you using? Is this a fresh installation, or are you upgrading from an older version of slate?

Your issue looks similar to the one fixed in aace071 where on moving to rouge 3.x, content was getting weirdly pushed down, and so needed to edit the stylesheet to add a new clear:none for the center column.

@zeyneptokerr
Copy link
Author

Slate'in hangi sürümünü kullanıyorsunuz? Bu yeni bir kurulum mu yoksa eski bir slate sürümünden mi yükseltme yapıyorsunuz?

Sorununuz aace071'de düzeltilen soruna benziyor, burada rouge 3.x'e geçerken , içerik garip bir şekilde aşağı itiliyordu ve bu nedenle clear:nonemerkez sütun için yeni bir tane eklemek üzere stil sayfasını düzenlemeniz gerekiyordu .

I am developing on the latest master from branches. Where can I see the version I am using?
Ekran Resmi 2021-11-10 10 22 20

@MasterOdin
Copy link
Member

MasterOdin commented Nov 10, 2021

Could you paste the contents of your gemfile?

Alternately, are you able to provide a link to the repo that has your code?

@dextertd
Copy link

Relates to #1177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants