Condense embedded formulas.

Bookmaker delimits formulas and equations to allow
representing variables and symbols without tripping
up reference lookup, spell checking, and comment
generation.

Before, formulas were represented with:
some text
#Formula
(x + y, 0)
##
, and more text

This made it difficult to know when spacing should
be preserved before and after the formula. Now,
formulas are represented with:
some text #Formula # (x + y, 0) ##, and more text

The presence or absence of a space between ## and ,
is now significant (before it was not).

Also, formulas are bracketed by <code> in markdown
generation, so that variables stand out better.
See:
https://skia.org/user/api/SkBlendMode_Reference?cl=152781#Dst_Out
for an example.

Also fixed 100 column offenders and added a code
check to identify them. For the moment, 100 column
offenders are outed with SkDebugf but their presence
does not cause bookmaker to fail.

TBR=caryclark@google.com

Docs-Preview: https://skia.org/?cl=152781
Bug: skia:6898
Change-Id: If92a65a234f5d616bf4485984a8d219a6f04821a
Reviewed-on: https://skia-review.googlesource.com/152781
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
diff --git a/docs/SkBitmap_Reference.bmh b/docs/SkBitmap_Reference.bmh
index 433743b..d17dd64 100644
--- a/docs/SkBitmap_Reference.bmh
+++ b/docs/SkBitmap_Reference.bmh
@@ -465,12 +465,8 @@
 #Method int width() const
 #In Property
 #Line # returns pixel column count ##
-Returns pixel count in each row. Should be equal or less than:
-
-#Formula
-rowBytes() / info().bytesPerPixel()
-##
-.
+Returns pixel count in each row. Should be equal or less than
+#Formula # rowBytes() / info().bytesPerPixel() ##.
 
 May be less than pixelRef().width(). Will not exceed pixelRef().width() less
 pixelRefOrigin().fX.
@@ -841,11 +837,7 @@
 #In Property
 #Line # returns interval between rows in bytes ##
 Returns row bytes, the interval from one pixel row to the next. Row bytes
-is at least as large as
-#Formula
-width() * info().bytesPerPixel()
-##
-.
+is at least as large as: #Formula # width() * info().bytesPerPixel() ##.
 
 Returns zero if colorType is kUnknown_SkColorType, or if row bytes supplied to
 setInfo is not large enough to hold a row of pixels.
@@ -2769,15 +2761,7 @@
 
 srcX and srcY may be negative to copy only top or left of source. Returns
 false if width() or height() is zero or negative.
-Returns false if
-#Formula
-abs(srcX) >= Bitmap width()
-##
-, or if
-#Formula
-abs(srcY) >= Bitmap height()
-##
-.
+Returns false if #Formula # abs(srcX) >= Bitmap width() ##, or if #Formula # abs(srcY) >= Bitmap height() ##.
 
 #Param dstInfo  destination width, height, Color_Type, Alpha_Type, Color_Space ##
 #Param dstPixels  destination pixel storage ##
@@ -2844,15 +2828,7 @@
 
 srcX and srcY may be negative to copy only top or left of source. Returns
 false if width() or height() is zero or negative.
-Returns false if
-#Formula
-abs(srcX) >= Bitmap width()
-##
-, or if
-#Formula
-abs(srcY) >= Bitmap height()
-##
-.
+Returns false if #Formula # abs(srcX) >= Bitmap width() ##, or if #Formula # abs(srcY) >= Bitmap height() ##.
 
 #Param dst  destination Pixmap: Image_Info, pixels, row bytes ##
 #Param srcX  column index whose absolute value is less than width() ##
@@ -2958,15 +2934,7 @@
 
 dstX and dstY may be negative to copy only top or left of source. Returns
 false if width() or height() is zero or negative.
-Returns false if
-#Formula
-abs(dstX) >= Bitmap width()
-##
-, or if
-#Formula
-abs(dstY) >= Bitmap height()
-##
-.
+Returns false if #Formula # abs(dstX) >= Bitmap width() ##, or if #Formula # abs(dstY) >= Bitmap height() ##.
 
 #Param src  source Pixmap: Image_Info, pixels, row bytes ##
 #Param dstX  column index whose absolute value is less than width() ##