// roffRenderer implements the blackfriday.Renderer interface for creating
// roff format (manpages) from markdown text
typeroffRendererstruct{
listCounters[]int
firstHeaderbool
listDepthint
}
const(
titleHeader=".TH "
topLevelHeader="\n\n.SH "
secondLevelHdr="\n.SH "
otherHeader="\n.SS "
crTag="\n"
emphTag="\\fI"
emphCloseTag="\\fP"
strongTag="\\fB"
strongCloseTag="\\fP"
breakTag="\n.br\n"
paraTag="\n.PP\n"
hruleTag="\n.ti 0\n\\l'\\n(.lu'\n"
linkTag="\n\\[la]"
linkCloseTag="\\[ra]"
codespanTag="\\fB"
codespanCloseTag="\\fR"
codeTag="\n.EX\n"
codeCloseTag=".EE\n"// Do not prepend a newline character since code blocks, by definition, include a newline already (or at least as how blackfriday gives us on).
quoteTag="\n.PP\n.RS\n"
quoteCloseTag="\n.RE\n"
listTag="\n.RS\n"
listCloseTag=".RE\n"
dtTag="\n.TP\n"
dd2Tag="\n"
tableStart="\n.TS\nallbox;\n"
tableEnd=".TE\n"
tableCellStart="T{\n"
tableCellEnd="\nT}\n"
tablePreprocessor=`'\" t`
)
// NewRoffRenderer creates a new blackfriday Renderer for generating roff documents
* Linux: use InotifyInit1 with IN_CLOEXEC to stop leaking a file descriptor to a child process when using fork/exec [#178](https://github.com/fsnotify/fsnotify/pull/178)(thanks @pattyshack)
## [1.4.1] - 2016-10-04
* Fix flaky inotify stress test on Linux [#177](https://github.com/fsnotify/fsnotify/pull/177)(thanks @pattyshack)
## [1.4.0] - 2016-10-01
* add a String() method to Event.Op [#165](https://github.com/fsnotify/fsnotify/pull/165)(thanks @oozie)
## [1.3.1] - 2016-06-28
* Windows: fix for double backslash when watching the root of a drive [#151](https://github.com/fsnotify/fsnotify/issues/151)(thanks @brunoqc)
## [1.3.0] - 2016-04-19
* Support linux/arm64 by [patching](https://go-review.googlesource.com/#/c/21971/) x/sys/unix and switching to to it from syscall (thanks @suihkulokki) [#135](https://github.com/fsnotify/fsnotify/pull/135)
## [1.2.10] - 2016-03-02
* Fix golint errors in windows.go [#121](https://github.com/fsnotify/fsnotify/pull/121)(thanks @tiffanyfj)
## [1.2.9] - 2016-01-13
kqueue: Fix logic for CREATE after REMOVE [#111](https://github.com/fsnotify/fsnotify/pull/111)(thanks @bep)
## [1.2.8] - 2015-12-17
* kqueue: fix race condition in Close [#105](https://github.com/fsnotify/fsnotify/pull/105)(thanks @djui for reporting the issue and @ppknap for writing a failing test)
* inotify: fix race in test
* enable race detection for continuous integration (Linux, Mac, Windows)
## [1.2.5] - 2015-10-17
* inotify: use epoll_create1 for arm64 support (requires Linux 2.6.27 or later) [#100](https://github.com/fsnotify/fsnotify/pull/100)(thanks @suihkulokki)