Code‑Schubladen
3 min
code schubladen sind eine großartige möglichkeit, codebeispiele in einem drei spalten layout zu zeigen hier ist eine ‘‘‘ let x, y, z; // statement 1 x = 5; // statement 2 y = 6; // statement 3 z = x + y; // statement 4 document getelementbyid("demo") innerhtml = "the value of z is " + z + " "; # program to find the sum of all numbers stored in a list \# list of numbers numbers = \[6, 5, 3, 8, 4, 2, 5, 4, 11] \# variable to store the sum sum = 0 \# iterate over the list for val in numbers sum = sum+val print("the sum is", sum) hier ist noch eine let x, y, z; // statement 1 x = 5; // statement 2 y = 6; // statement 3 z = x + y; // statement 4 document getelementbyid("demo") innerhtml = "the value of z is " + z + " "; # program to find the sum of all numbers stored in a list \# list of numbers numbers = \[6, 5, 3, 8, 4, 2, 5, 4, 11] \# variable to store the sum sum = 0 \# iterate over the list for val in numbers sum = sum+val print("the sum is", sum) und ein screenshot während der bearbeitung markdown verwenden sie das folgende markdown, um code drawer blöcke zu erzeugen \### test codedrawer \ codedrawer{title="a code drawer"} \ codeblocktabs examples ```php // some wordpress plugi // add our plugin's option page to the wp admin menu public function add plugin options page() { add options page( 'example plugin settings', 'example plugin settings', 'manage options', 'ex', \[$this, 'render admin page'] ); } ``` ```go // next should be used only inside middleware // it executes the pending handlers in the chain inside the calling handler // see example in github func (c context) next() { c index++ for c index < int8(len(c handlers)) { c handlers\[c index]\(c) c index++ } } ``` ```javascript // demo js ``` \ \ codeblocktabs responses ```json // 404 not found { requirefingerprintscope true, maxmachines 1, concurrent false, floating false, protected true, strict true } ``` \ \ andere blöcke finden entdecken sie neue möglichkeiten und blöcke, um beeindruckende und funktionale dokumentationsseiten zu erstellen alle blöcke ansehen docid\ qr1fjhmpreujxqqndqr1 brauchen sie hilfe? ⬇️ verwenden sie die blaue chatblase unten rechts oder versuchen sie ki chat (aus dem suchfeld) für schnelle antworten ihre meinung zählt verwenden sie das folgende feedback formular, anonym oder stellen sie eine frage im q\&a bereich und unser team oder die ki wird ihnen eine lösung geben
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.