kiszk commented on a change in pull request #28451:
URL: https://github.com/apache/spark/pull/28451#discussion_r420184532



##########
File path: docs/sql-ref-literals.md
##########
@@ -220,56 +203,49 @@ SELECT 482S AS col;
 +---+
 |482|
 +---+
-{% endhighlight %}
+```
 
 #### Fractional Literals
 
-#### Syntax
+##### Syntax
 
 decimal literals:
-{% highlight sql %}
+```sql
 decimal_digits { [ BD ] | [ exponent BD ] } | digit [ ... ] [ exponent ] BD
-{% endhighlight %}
+```
 
 double literals:
-{% highlight sql %}
+```sql
 decimal_digits  { D | exponent [ D ] }  | digit [ ... ] { exponent [ D ] | [ 
exponent ] D }
-{% endhighlight %}
+```
 
 While decimal_digits is defined as
-{% highlight sql %}
+```sql
 [ + | - ] { digit [ ... ] . [ digit [ ... ] ] | . digit [ ... ] }
-{% endhighlight %}
+```
 
 and exponent is defined as
-{% highlight sql %}
+```sql
 E [ + | - ] digit [ ... ]
-{% endhighlight %}
+```
 
-#### Parameters
+##### Parameters
+
+* **digit**
 
-<dl>
-  <dt><code><em>digit</em></code></dt>
-  <dd>
     Any numeral from 0 to 9.
-  </dd>
-</dl>
-<dl>
-  <dt><code><em>D</em></code></dt>
-  <dd>
-    Case insensitive, indicates <code>DOUBLE</code>, which is a 8-byte 
double-precision floating point number.
-  </dd>
-</dl>
-<dl>
-  <dt><code><em>BD</em></code></dt>
-  <dd>
-    Case insensitive, indicates <code>DECIMAL</code>, with the total number of 
digits as precision and the number of digits to right of decimal point as scale.
-  </dd>
-</dl>
 
-#### Examples
+* **D**
+
+    Case insensitive, indicates `DOUBLE`, which is a 8-byte double-precision 
floating point number.

Review comment:
       ditto




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to